PDA

View Full Version : [ubuntu] 'sudo' and 'at'



aatyler
October 15th, 2009, 03:56 AM
I have a question. I started using the 'at' command today to schedule downloads and backups to happen at night when I discovered that if do:


sudo at <whenever>

I'm never propmpted to enter my password and the command is run as root. I thought maybe it was because I had recently used sudo in the same shell so I did a reboot and found that it did the same thing. Is this normal for at? Isn't this a possible security hazzard?

falconindy
October 15th, 2009, 04:25 AM
I just tried this and I was prompted for a password. Is it possible your last sudo access hadn't timed out yet?

mocoloco
October 15th, 2009, 04:37 AM
I'm prompted for a password. Maybe you tweaked something at one point. What's in your sudoers file? Run sudo visudo.