2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-29 13:28:10 +00:00

fix usage of (username) in conjunction with , and !

This commit is contained in:
Todd C. Miller 1997-11-23 18:29:24 +00:00
parent 82654611c3
commit 687434bc96

View File

@ -74,8 +74,8 @@ pete ALL=/bin/passwd [A-z]*,!/bin/passwd root
# bob may run anything except root shells or su on the sun3 and sun4 machines # bob may run anything except root shells or su on the sun3 and sun4 machines
# as any user in then Runas_Alias "OP" (contains root and operator) # as any user in then Runas_Alias "OP" (contains root and operator)
bob SUN4=(OP) ALL,!SU,!SHELLS:\ bob SUN4=(OP) ALL, (OP) !SU, (OP) !SHELLS:\
SUN3=(OP) ALL,!SU,!SHELLS SUN3=(OP) ALL, (OP) !SU, (OP) !SHELLS
# jim may run anything on machines in the biglab netgroup # jim may run anything on machines in the biglab netgroup
jim +biglab=ALL jim +biglab=ALL