summary refs log tree commit diff
path: root/nixos/modules/security/pam.nix
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2021-09-12 19:04:55 +0200
committerrnhmjoj <rnhmjoj@inventati.org>2021-09-13 13:48:13 +0200
commit65e83b0e23038abf3acdc9d5f6a550c05be10acd (patch)
tree4843670ebeceb73329833dd69bfff875ed50ae2a /nixos/modules/security/pam.nix
parentfedd7cd6901646cb7e2a94a148d300f7b632d7e0 (diff)
downloadnixpkgs-65e83b0e23038abf3acdc9d5f6a550c05be10acd.tar
nixpkgs-65e83b0e23038abf3acdc9d5f6a550c05be10acd.tar.gz
nixpkgs-65e83b0e23038abf3acdc9d5f6a550c05be10acd.tar.bz2
nixpkgs-65e83b0e23038abf3acdc9d5f6a550c05be10acd.tar.lz
nixpkgs-65e83b0e23038abf3acdc9d5f6a550c05be10acd.tar.xz
nixpkgs-65e83b0e23038abf3acdc9d5f6a550c05be10acd.tar.zst
nixpkgs-65e83b0e23038abf3acdc9d5f6a550c05be10acd.zip
nixos: fix nobody/nogroup in security.wrappers
Diffstat (limited to 'nixos/modules/security/pam.nix')
-rw-r--r--nixos/modules/security/pam.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/security/pam.nix b/nixos/modules/security/pam.nix
index 0bc774af3a6..8b1f653d4e2 100644
--- a/nixos/modules/security/pam.nix
+++ b/nixos/modules/security/pam.nix
@@ -869,10 +869,10 @@ in
 
     security.wrappers = {
       unix_chkpwd = {
-        source = "${pkgs.pam}/sbin/unix_chkpwd.orig";
-        owner = "root";
-        group = "nogroup";
         setuid = true;
+        owner = "root";
+        group = "root";
+        source = "${pkgs.pam}/sbin/unix_chkpwd.orig";
       };
     };