I was to answer you yesterday but time ran out
The time out period for sudo is controlled by the sudoers file.Note that tampering with sudoers quite easily can make your computer useless
Give the command sudo visudo in a terminal (deliberately not put in a code box)
The unchanged sudoers file for Elyssa should be
- Code: Select all
# This file MUST be edited with the 'visudo' command as root.
# See the man page for details on how to write a sudoers file.
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL) ALL
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
The default time out is 15 minutes. To change that add
to the Defaults line - like this
where a positive number is the time out time, zero is always ask for a password and a negative number is never ask for a password
So for the time being set it to zero.
If something is tampering with your system you'll soon see requests for password
visudo is a special edition of the editor vi and behaves different from what we are used to
To save and quit (and this is inside a terminal) type :wq