Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Rootsudo under Ubuntu

  • 03-12-2009 03:16AM
    #1
    Closed Accounts Posts: 921 ✭✭✭


    Hi

    Whenever i give my password to allow a root like command like Update Manager-does this mean that for 15 minutes my computer is running as a full root user?


Comments

  • Registered Users, Registered Users 2 Posts: 545 ✭✭✭ravydavygravy


    It means it won't ask *you* for your password again for sudo commands for the next few minutes. Pretty sure you can change this to require password every time.

    Edit the /etc/sudoers file (using visudo) and change the defaults line from
    Defaults    !lecture,tty_tickets,!fqdn
    

    to
    Defaults    !lecture,tty_tickets,timestamp_timeout=0,insults,!fqdn
    

    Full details here: http://ohioloco.ubuntuforums.org/showthread.php?t=870820

    Dave


  • Registered Users, Registered Users 2 Posts: 590 ✭✭✭bman


    Defaults    !lecture,tty_tickets,timestamp_timeout=0,insults,!fqdn
    

    Haha. I hadn't seen the insults options before. That's another good thing about Linux, you can put funny **** like that in to your code without having to fear retribution from the boss / man!! :)


Advertisement