Changing Sudo Password Remembering Time in Ubuntu|Debian

by
Share this Article: Facebook0Google+0Twitter0LinkedIn0Reddit0StumbleUpon0

 When you use a sudo command normally  the password is saved for 15 minutes, If you want to change sudo remembering time in ubuntu, you need to change the configuration of visudo. This post explain you how to change sudo remembering time in Ubuntu, debian.

To start, open terminal and type the following command:

sudo visudo

2- Now look for this line :

Defaults        env_reset

Now change it to :

Defaults        env_reset , timestamp_timeout = X

X is the time which we remember the sudo password .

Now Press Ctrl+x and save .

Via icewalkerz.

For questions please refer to our Q/A forum at : http://ask.unixmen.com/

Share this Article: Facebook0Google+0Twitter0LinkedIn0Reddit0StumbleUpon0