Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
    
Take a look at this: ubuntuforums.org/showthread.php?t=1132821 –  Mitch Jul 25 '12 at 16:39
    
Possible duplicate? askubuntu.com/questions/118204/… –  user76204 Jul 25 '12 at 16:39
add comment

1 Answer

up vote 1 down vote accepted

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.

share|improve this answer
    
Well @mutzmatron I have looked into the manual pages.(That is usually the first thing I do...) but I would also like to know where I can customize the prompt for Sys Admin password, and make it ask for root password instead of user... –  TenorB Jul 25 '12 at 16:45
1  
That aspect of your question is answered here: superuser.com/questions/161593/…, I'll add in the main part... –  mutzmatron Jul 25 '12 at 16:46
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.