[sudo-users] allow / deny su

Jan Albrecht jan.albrecht at gmail.com
Wed Oct 25 01:48:02 EDT 2006


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




More information about the sudo-users mailing list