diff options
author | Luca Bruno <lethalman88@gmail.com> | 2014-05-14 17:53:58 +0200 |
---|---|---|
committer | Luca Bruno <lethalman88@gmail.com> | 2014-05-14 17:54:21 +0200 |
commit | 1d5d7fdee2e85460e44b9931f3259254c2092806 (patch) | |
tree | 0cecce6ad9e44c3a7c72c6b188ba8d8a16309579 /nixos/modules/programs/shadow.nix | |
parent | 0138b81ed611af3eef82c7f6b52f3b9586c2e3cf (diff) |
pam: Add logFailures option for adding pam_tally to su
Diffstat (limited to 'nixos/modules/programs/shadow.nix')
-rw-r--r-- | nixos/modules/programs/shadow.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/programs/shadow.nix b/nixos/modules/programs/shadow.nix index 27a18c726a3af..9763332ed9783 100644 --- a/nixos/modules/programs/shadow.nix +++ b/nixos/modules/programs/shadow.nix @@ -82,7 +82,7 @@ in security.pam.services = { chsh = { rootOK = true; }; chfn = { rootOK = true; }; - su = { rootOK = true; forwardXAuth = true; }; + su = { rootOK = true; forwardXAuth = true; logFailures = true; }; passwd = {}; # Note: useradd, groupadd etc. aren't setuid root, so it # doesn't really matter what the PAM config says as long as it |