Results 1 to 3 of 3

Thread: 'sudo' and 'at'

  1. #1
    Join Date
    Aug 2009
    Location
    Tampa, FL
    Beans
    27
    Distro
    Ubuntu 12.04 Precise Pangolin

    'sudo' and 'at'

    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:

    Code:
    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?
    "A good plan, violently executed now, is better than a perfect plan executed next week." -- Gen. Patton

    "I like peanut butter." -- Me

  2. #2
    Join Date
    Jun 2009
    Location
    0000:0400
    Beans
    Hidden!

    Re: 'sudo' and 'at'

    I just tried this and I was prompted for a password. Is it possible your last sudo access hadn't timed out yet?

  3. #3
    Join Date
    Apr 2006
    Location
    Utah, USA
    Beans
    521
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: 'sudo' and 'at'

    I'm prompted for a password. Maybe you tweaked something at one point. What's in your sudoers file? Run sudo visudo.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •