[sudo-users] Valid sudoers line
Todd C. Miller
Todd.Miller at courtesan.com
Tue Oct 19 16:31:42 EDT 2004
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