[sudo-users] allow / deny su

Jan Albrecht jan.albrecht at gmail.com
Wed Oct 25 05:23:52 EDT 2006


The chmod command is correct (I don't do a mistake twice ;-)

Matthew Hannigan wrote:
> What platform?
> Maybe chmod is /usr/bin/chmod, not /bin/chmod
>
>
> On Wed, Oct 25, 2006 at 07:48:02AM +0200, Jan Albrecht wrote:
>   
>> Hi,
>>
>> thanks. But that didn't solve my problem. The still has to enter a password.
>> Any other idea?
>>
>> Thanks
>>
>> Jan
>>
>> Huibert.Kivits at mail.ing.nl wrote:
>>     
>>> 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
>>>       
>> ____________________________________________________________ 
>> 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