[sudo-users] allow / deny su

Galen Johnson Galen.Johnson at sas.com
Mon Oct 23 09:01:01 EDT 2006


If this is a direct cut and past from sudoers, you misspelled chmod (/bin/chomd)... 

-----Original Message-----
From: sudo-users-bounces at courtesan.com [mailto:sudo-users-bounces at courtesan.com] On Behalf Of Jan Albrecht
Sent: Monday, October 23, 2006 8:35 AM
To: sudo-users at courtesan.com
Subject: Re: [sudo-users] allow / deny su

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


____________________________________________________________ 
sudo-users mailing list <sudo-users at sudo.ws>
For list information, options, or to unsubscribe, visit:
http://www.sudo.ws/mailman/listinfo/sudo-users




More information about the sudo-users mailing list