Jamie Wilkinson wrote:

> This one time, at band camp, Michael Lake wrote:
>>In a sudoers file I have
>>bill machine.domain.com=PASSWD: /usr/bin/apt-get
>>but a normal user bill can 'sudo apt-get update' and does NOT get asked 
>>for their password. Reading the man pages suggests that this behavior is 
>>set if you have =NOPASSWD. What do I need to set to get sudo to prompt 
>>for the users password?

> Is there another line for apt-get that allows NOPASSWD, which is
> overriding this one?

There is no other line. In fact this is the only user line as I reduced 
it to the minimum to work this out.

There is no other conf file in /etc that I know of that overrides this 
either.

-- 
Michael Lake
Chemistry, Materials & Forensic Science, UTS
Ph: 9514 1724 Fx: 9514 1460



UTS CRICOS Provider Code:  00099F

DISCLAIMER
========================================================================
This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.
If you have received this message in error, please notify the sender
immediately and delete this message. Any views expressed in this message
are those of the individual sender, except where the sender expressly,
and with authority, states them to be the views the University of
Technology Sydney. Before opening any attachments, please check them for
viruses and defects.
========================================================================

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to