On Tue, Nov 25, 2003 at 09:46:26AM +1100, 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?
The default is NOPASSWD, so you should not even need this.
The only thing that I can guess at is that bill belongs
to some exempted group as noted in the sudoers man page:
"Note, however, that the PASSWD tag has no effect on users who
are in the group specified by the exempt_group option."
Regards,
Matt
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug