Hi, for security reasons, I want to remove superuser timeout. I want
console/terminal to ask me password of su/sudo/root every time that I want to
run a command that needs superuser rights.
man sudoers
SUDOERS OPTIONS -> "passwd_timeout" to "0"
"Number of minutes before the sudo password prompt times out, or 0 for no
timeout. The timeout may include a fractional component if minute granularity
is insufficient, for example 2.5. The default is 5."
What I want is terminal (or any runnable) asking me password every time I run
command that needs superuser rights.
SU is switch user. You can do "su yourself" and switch to a new login of
"yourself". This is not something that we can make the password time out of
immediately.
If i get what you want you should run the command...
man 5 sudoers
...there you should read the explanation for following sudoers option:
timestamp_timeout
But for sure feel free to ask here again
if that leaves questions for your problem!! ;)
My suggestion with the option 'timestamp_timeout' is only for sudo
timestamp...
...just to clarify my last post.