Sunday, September 23, 2012

How to Change Time of Sudo on Ubuntu


Sudo is used root privileges on Ubuntu. We need to use sudo root password. By default passwords will be stored for 15 minutes. The next minute will ask for the password again. And so it continued.

For those who want to change the wait time sudo command can change with a few brief below:


1. Run terminal (Ctrl + Alt + t), then type the command:

    sudo visudo


2. Look for the line that contains the following text:

    defaults env_reset

change the text to be like this

   Defaults env_reset, timestamp_timeout = x



change x with the number desired time.

Then press Ctrl + X to save changes.



Share on :

0 comments:

Post a Comment

 
© Copyright Ubuntu Tutorial-Ubuntu Desktop-Ubuntu Server 2012 - Some rights reserved | Powered by Blogger.com.