How to Set SUDO with zero Timeout

This post is only for personal documentation.

To set the sudo command to always ask for password we could add this line in /etc/sudoers

Defaults env_reset,timestamp_timeout=0

A complete manual for sudoers command can be viewed from here

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s