[sudo-users] allow / deny su

Jan Albrecht jan.albrecht at gmail.com
Mon Oct 23 08:35:25 EDT 2006


Hi all,

i've a more or less curious problem here.
This is my sudoers:

*************
Cmnd_Alias    CHMOD = /bin/chomd

Defaults targetpw
%users ALL=(ALL) ALL

root    ALL=(ALL) ALL

user           ALL=(ALL) NOPASSWD: ALL,CHMOD
*************

When I remove the "ALL" from user, the user has to enter a password,
when I add the "ALL", the does not have to enter a password.
All I want is to enable passwordless chmod for this user.
Any idea why this happens?

Thanks
Jan





More information about the sudo-users mailing list