Difference between revisions of "Sudo"

From Noah.org
Jump to: navigation, search
(Set timestamp timeout)
Line 5: Line 5:
 
== Set timestamp timeout ==
 
== Set timestamp timeout ==
  
The following sets the timestamp timeout to 5 minutes.
+
The following sets the timestamp timeout to 30 minutes.
  
 
<pre>
 
<pre>
Defaults:your_username timestamp_timeout=300
+
Defaults:your_username timestamp_timeout=1800
 
</pre>
 
</pre>
  

Revision as of 10:56, 25 June 2008


Use `visudo` to make changes to /etc/sudoers.

Set timestamp timeout

The following sets the timestamp timeout to 30 minutes.

Defaults:your_username timestamp_timeout=1800

No password

your_username ALL=NOPASSWD: ALL