Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Rootsudo under Ubuntu

  • 03-12-2009 02: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