1

This will probably be a short and informative question.

All the time I have heard and seen people talking about how you can customize sudo so you can adjust the 15 min reset, and add a custom query for the password. I myself would like to know how, and do this(At least on debian based systems). I have DuckDuckGo'd it and I couldn't find anything except the "Sudoers File" in /etc/sudoers, which I haven't found a way to adjust or configure anything from there.

Can anyone tell me the file or where I can configure these settings?

TenorB
  • 560

1 Answers1

1

If you check man sudoers it states that the timeout can be changed by changing the timestamp_timeout variable.

In /etc/sudoers, add this line:

Defaults rootpw

in order that the default password is the root password and not the user password.

jmetz
  • 1,171