Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

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