[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

/etc/sudoers precedence question



Given the sudoers file below omacneil (as a member of wheel) should be
able to do anything with a password and should be able to run "update"
with no password.

I can run everything but only with a password.

What am I missing?

reversing the order of %wheel & omacneil lines doesn't change things.


###########
# User privilege specification
root    ALL=(ALL) ALL
ken     ALL=(ALL) ALL

Defaults        !lecture, insults
%wheel  ALL=(ALL)       ALL
omacneil localhost=NOPASSWD: /usr/cs/2002/omacneil/sbin/update




Reply to: