[sudo-users] allow / deny su

Huibert.Kivits at mail.ing.nl Huibert.Kivits at mail.ing.nl
Mon Oct 23 09:00:37 EDT 2006


Maybe because the command alias is /bin/chomd instead of /bin/chmod ?

Met vriendelijke groeten / With kind regards / Mit freundlichen Grüßen / Med vänliga hälsningar / nuosirdziausi linkejimai,


Huibert Kivits
ING


-----Oorspronkelijk bericht-----
Van: sudo-users-bounces at courtesan.com [mailto:sudo-users-bounces at courtesan.com] Namens Jan Albrecht
Verzonden: maandag 23 oktober 2006 14:35
Aan: sudo-users at courtesan.com
Onderwerp: 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
-----------------------------------------------------------------
ATTENTION:
The information in this electronic mail message is private and
confidential, and only intended for the addressee. Should you
receive this message by mistake, you are hereby notified that
any disclosure, reproduction, distribution or use of this
message is strictly prohibited. Please inform the sender by
reply transmission and delete the message without copying or
opening it.

Messages and attachments are scanned for all viruses known.
If this message contains password-protected attachments, the
files have NOT been scanned for viruses by the ING mail domain.
Always scan attachments before opening them.
-----------------------------------------------------------------





More information about the sudo-users mailing list