summary refs log tree commit diff
path: root/nixos/modules/security/sudo.nix
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-07-23 11:29:18 -0400
committerGitHub <noreply@github.com>2018-07-23 11:29:18 -0400
commit1b40dda8a707a8de8eec3f5cbef7028cde931f8e (patch)
treef0be57b2ca063173d0489981d1095990eec64c69 /nixos/modules/security/sudo.nix
parentca0522a8424ef5305227681ceb345b61f31f0633 (diff)
parent38b7233f836f4756825526fcef92a9a45284b819 (diff)
downloadnixpkgs-1b40dda8a707a8de8eec3f5cbef7028cde931f8e.tar
nixpkgs-1b40dda8a707a8de8eec3f5cbef7028cde931f8e.tar.gz
nixpkgs-1b40dda8a707a8de8eec3f5cbef7028cde931f8e.tar.bz2
nixpkgs-1b40dda8a707a8de8eec3f5cbef7028cde931f8e.tar.lz
nixpkgs-1b40dda8a707a8de8eec3f5cbef7028cde931f8e.tar.xz
nixpkgs-1b40dda8a707a8de8eec3f5cbef7028cde931f8e.tar.zst
nixpkgs-1b40dda8a707a8de8eec3f5cbef7028cde931f8e.zip
Merge pull request #42834 from Synthetica9/patch-1
security.sudo.extraRules: documentation fix
Diffstat (limited to 'nixos/modules/security/sudo.nix')
-rw-r--r--nixos/modules/security/sudo.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/security/sudo.nix b/nixos/modules/security/sudo.nix
index 361a7e86960..69a2a4f8f9a 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`