Merge pull request #42834 from Synthetica9/patch-1

security.sudo.extraRules: documentation fix

authored by

Matthew Bauer and committed by
GitHub
1b40dda8 ca0522a8

+1 -1
+1 -1
nixos/modules/security/sudo.nix
··· 78 78 79 79 # Allow execution of "/home/root/secret.sh" by user `backup`, `database` 80 80 # and the group with GID `1006` without a password. 81 - { users = [ "backup" ]; groups = [ 1006 ]; 81 + { users = [ "backup" "database" ]; groups = [ 1006 ]; 82 82 commands = [ { command = "/home/root/secret.sh"; options = [ "SETENV" "NOPASSWD" ]; } ]; } 83 83 84 84 # Allow all users of group `bar` to run two executables as user `foo`