Merge pull request #42834 from Synthetica9/patch-1
security.sudo.extraRules: documentation fix
This commit is contained in:
commit
1b40dda8a7
@ -78,7 +78,7 @@ in
|
|||||||
|
|
||||||
# Allow execution of "/home/root/secret.sh" by user `backup`, `database`
|
# Allow execution of "/home/root/secret.sh" by user `backup`, `database`
|
||||||
# and the group with GID `1006` without a password.
|
# and the group with GID `1006` without a password.
|
||||||
{ users = [ "backup" ]; groups = [ 1006 ];
|
{ users = [ "backup" "database" ]; groups = [ 1006 ];
|
||||||
commands = [ { command = "/home/root/secret.sh"; options = [ "SETENV" "NOPASSWD" ]; } ]; }
|
commands = [ { command = "/home/root/secret.sh"; options = [ "SETENV" "NOPASSWD" ]; } ]; }
|
||||||
|
|
||||||
# Allow all users of group `bar` to run two executables as user `foo`
|
# Allow all users of group `bar` to run two executables as user `foo`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user