3
0
Fork 0
forked from mirrors/nixpkgs

nixos/pam: use pam_faillock instead of pam_tally

Fixes #108313

\#107185 removed pam_tally, in favor of pam_faillock (see release notes).
This commit is contained in:
Milan Pässler 2021-01-03 15:30:08 +01:00 committed by Frederik Rietdijk
parent 499792889d
commit 018072ea22

View file

@ -394,7 +394,7 @@ let
${optionalString cfg.requireWheel
"auth required pam_wheel.so use_uid"}
${optionalString cfg.logFailures
"auth required pam_tally.so"}
"auth required pam_faillock.so"}
${optionalString (config.security.pam.enableSSHAgentAuth && cfg.sshAgentAuth)
"auth sufficient ${pkgs.pam_ssh_agent_auth}/libexec/pam_ssh_agent_auth.so file=${lib.concatStringsSep ":" config.services.openssh.authorizedKeysFiles}"}
${optionalString cfg.fprintAuth