[sudo-users] Valid sudoers line

Galen Johnson Galen.Johnson at sas.com
Tue Oct 19 16:38:47 EDT 2004


 So then, this wouldn't be legal?

usera, userb	ALL=(ALL) COMMANDS

Sorry if I seem dense...it's been a long week and it's only Tuesday.

=G=

-----Original Message-----
From: Todd C. Miller [mailto:Todd.Miller at courtesan.com] 
Sent: Tuesday, October 19, 2004 4:32 PM
To: Galen Johnson
Cc: sudo-users at sudo.ws
Subject: Re: [sudo-users] Valid sudoers line 

In message <BBB646166E3FCE46A5E9CE14B2525586027AB9B1 at MERC27.na.sas.com>
	so spake "Galen Johnson" (Galen.Johnson):

> I don't see this in the man pages and I'd like to se if this will work...
> 
> User_Alias	USERS1=usera, userb
> User_Alias	USERS2=userc, userd
> 
> USERS1, USERS2	ALL=(ALL) COMMANDS
> 
> Is that valid?  I guess I could try it and see but I'd like the official answ
> er.

Yes, this is legal.  The "key" in sudoers is a User_List so it can
contain multiple entries.

 - todd




More information about the sudo-users mailing list