about summary refs log tree commit diff
path: root/nixos/tests/pam
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2023-03-12 17:59:01 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2023-03-13 07:54:27 +0100
commit4472cf44eba4991e46904c588e07dfe8e6fcceb8 (patch)
tree50d184541bb5d1163027a0fbf11303ac95db4681 /nixos/tests/pam
parent909f394f28c637a6d5a269d893b77e095b2812eb (diff)
treewide: Make yescrypt the default algorithm for pam_unix.so
This ensures `passwd` will default to yescrypt for newly generated
passwords.
Diffstat (limited to 'nixos/tests/pam')
-rw-r--r--nixos/tests/pam/test_chfn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/pam/test_chfn.py b/nixos/tests/pam/test_chfn.py
index b108a9423caf2..a48438b8d305f 100644
--- a/nixos/tests/pam/test_chfn.py
+++ b/nixos/tests/pam/test_chfn.py
@@ -8,7 +8,7 @@ expected_lines = {
     "auth sufficient pam_rootok.so",
     "auth sufficient pam_unix.so   likeauth try_first_pass",
     "password sufficient @@pam_krb5@@/lib/security/pam_krb5.so use_first_pass",
-    "password sufficient pam_unix.so nullok sha512",
+    "password sufficient pam_unix.so nullok yescrypt",
     "session optional @@pam_krb5@@/lib/security/pam_krb5.so",
     "session required pam_env.so conffile=/etc/pam/environment readenv=0",
     "session required pam_unix.so",