Home » Questions » Computers [ Ask a new question ]

Make sudo ask for my password again?

Make sudo ask for my password again?

Is there any way to make sudo forget my password instantly instead of remembering it for 5 minutes?

Asked by: Guest | Views: 227
Total answers/comments: 1
Guest [Entry]

"Edit your sudoers file by running visudo as root.

Look for the Defaults line, and add timestamp_timeout=0 to the end.

Eg.

Defaults env_reset,timestamp_timeout=0

(Edited: Sorry, got confused, had the wrong keyword. Fixed. )"