[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Pb sudo



"Edouard G. Parmelan" wrote:
> 
> On Mon, Jul 30, 2001 at 05:00:37PM +0200, frederic massot wrote:
> 
> > # Cmnd alias specification
> > Cmnd_Alias  CHOWN=/bin/chown wwwdata.wwwdata, \
> >                   /bin/chown -R wwwdata.wwwdata
> 
> RTFM
> 
> un extrait de man sudoers:
> 
>        A Cmnd_List is a list of one or more commandnames,
...
> et dans les exemples
> 
>        pete           HPPA = /usr/bin/passwd [A-z]*, !/usr/bin/passwd root
> 
>        The user pete is allowed to change anyone's password
>        except for root on the HPPA machines.  Note that this
>        assumes passwd(1) does not take multiple usernames on the
>        command line.

Merci, c'est bien ca, il manquait un asterisque pour indiquer qu'il y a
un argument a la commande chown.

Cmnd_Alias  CHOWN=/bin/chown wwwdata.wwwdata * , /bin/chown -R
wwwdata.wwwdata *


-- 
==============================================
|              FREDERIC MASSOT               |
|     http://www.juliana-multimedia.com      |
|   mailto:frederic@juliana-multimedia.com   |
===========================Debian=GNU/Linux===



Reply to: