diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-07-23 11:29:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-23 11:29:18 -0400 |
commit | 1b40dda8a707a8de8eec3f5cbef7028cde931f8e (patch) | |
tree | f0be57b2ca063173d0489981d1095990eec64c69 | |
parent | ca0522a8424ef5305227681ceb345b61f31f0633 (diff) | |
parent | 38b7233f836f4756825526fcef92a9a45284b819 (diff) | |
download | nixlib-1b40dda8a707a8de8eec3f5cbef7028cde931f8e.tar nixlib-1b40dda8a707a8de8eec3f5cbef7028cde931f8e.tar.gz nixlib-1b40dda8a707a8de8eec3f5cbef7028cde931f8e.tar.bz2 nixlib-1b40dda8a707a8de8eec3f5cbef7028cde931f8e.tar.lz nixlib-1b40dda8a707a8de8eec3f5cbef7028cde931f8e.tar.xz nixlib-1b40dda8a707a8de8eec3f5cbef7028cde931f8e.tar.zst nixlib-1b40dda8a707a8de8eec3f5cbef7028cde931f8e.zip |
Merge pull request #42834 from Synthetica9/patch-1
security.sudo.extraRules: documentation fix
-rw-r--r-- | nixos/modules/security/sudo.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/security/sudo.nix b/nixos/modules/security/sudo.nix index 361a7e869602..69a2a4f8f9ae 100644 --- a/nixos/modules/security/sudo.nix +++ b/nixos/modules/security/sudo.nix @@ -78,7 +78,7 @@ in # Allow execution of "/home/root/secret.sh" by user `backup`, `database` # 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" ]; } ]; } # Allow all users of group `bar` to run two executables as user `foo` |