User Tools

Site Tools



Configuring sudo timeout

To specify the time you have to reauthenticate with sudo use visudo and change the parameter timestamp_timeout:

# sudoers file.
# User alias specification
User_Alias      ADMINS = nttuser,custuser,tel-dns
# Cmnd alias specification
# Defaults specification
Defaults        shell_noargs
Defaults        authenticate
Defaults        timestamp_timeout=10
Defaults        log_host
# User privilege specification
root            ALL=(ALL) ALL
ADMINS          ALL= (ALL) ALL
/srv/ · Last modified: 2009/08/15 12:14 (external edit)