This one time, at band camp, Simon Wong wrote:
>On Thu, 2004-06-17 at 15:21, Rick Welykochy wrote:
>> An untested stab in the dark:
>> 
>> ALL     ALL=(ALL) /path/to/smbmount blah blah blah
>
>While we're on the topic.  I want my user to be able to do all as root
>but have to enter my password.
>
>I can't get the syntax right for timing out the passwrd or forcing the
>password to always be asked.
>
>Currently, it never asks for a password!

I have

jaq     ALL=(ALL) ALL

which prompts me for a password with a default timeout of 5 minutes, on my
Debian boxes.

You can set the option timestamp_timeout to 0 so that sudo will always
prompt for a password.

This should sit on a line by itself, I think.

timestamp_timeout=0
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to