[Trisquel-users] How to remove "su"/"sudo"/"root" timeout?

2016-09-08 Thread vitacell
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.

Re: [Trisquel-users] How to remove "su"/"sudo"/"root" timeout?

2016-09-08 Thread trinux
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."

Re: [Trisquel-users] How to remove "su"/"sudo"/"root" timeout?

2016-09-08 Thread vitacell
What I want is terminal (or any runnable) asking me password every time I run command that needs superuser rights.

Re: [Trisquel-users] How to remove "su"/"sudo"/"root" timeout?

2016-09-09 Thread dguthrie
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.

Re: [Trisquel-users] How to remove "su"/"sudo"/"root" timeout?

2016-09-09 Thread energy . d
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!! ;)

Re: [Trisquel-users] How to remove "su"/"sudo"/"root" timeout?

2016-09-09 Thread energy . d
My suggestion with the option 'timestamp_timeout' is only for sudo timestamp... ...just to clarify my last post.