diff options
author | s1341 <github@shmarya.net> | 2023-04-30 08:17:29 +0300 |
---|---|---|
committer | s1341 <github@shmarya.net> | 2023-05-09 13:43:06 +0300 |
commit | 765ae4d58184fe52f391aae46a705ae8c16ece52 (patch) | |
tree | 4c9a7abfde4098d1414a5e9fa41715ea13a41d0d /nixos/modules/security/pam.nix | |
parent | 38200bc56ee631372724eef4290b5ed3bb2d55ba (diff) |
nixos/pam: allow changing password using sssd
Diffstat (limited to 'nixos/modules/security/pam.nix')
-rw-r--r-- | nixos/modules/security/pam.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/security/pam.nix b/nixos/modules/security/pam.nix index 6e8be412de83c..c06faa8bce609 100644 --- a/nixos/modules/security/pam.nix +++ b/nixos/modules/security/pam.nix @@ -638,7 +638,7 @@ let password sufficient ${pkgs.pam_mysql}/lib/security/pam_mysql.so config_file=/etc/security/pam_mysql.conf '' + optionalString config.services.sssd.enable '' - password sufficient ${pkgs.sssd}/lib/security/pam_sss.so use_authtok + password sufficient ${pkgs.sssd}/lib/security/pam_sss.so try_first_pass '' + optionalString config.security.pam.krb5.enable '' password sufficient ${pam_krb5}/lib/security/pam_krb5.so use_first_pass |