]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
pam: fix typo try_authtok → use_authtok
authorLennart Poettering <lennart@poettering.net>
Wed, 12 May 2021 08:33:27 +0000 (10:33 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 12 May 2021 10:14:17 +0000 (12:14 +0200)
This was a copy/paste mistae apparently, there's not "try_authtok" and
this was supposed to copy what Fedora uses, which uses "use_authtok"
correctly. Hence adjust this.

Fixes: #19369
factory/etc/pam.d/system-auth
man/pam_systemd.xml
man/pam_systemd_home.xml

index 522c51324af17a6bf3c13c5e7b9cb46671d17a28..c2d6240930f04ec303bf34fa82010da0392804f4 100644 (file)
@@ -13,7 +13,7 @@ account   sufficient pam_unix.so
 account   required   pam_permit.so
 
 -password sufficient pam_systemd_home.so
-password  sufficient pam_unix.so sha512 shadow try_first_pass try_authtok
+password  sufficient pam_unix.so sha512 shadow try_first_pass use_authtok
 password  required   pam_deny.so
 
 -session  optional   pam_keyinit.so revoke
index 21a2581b2466d621e45f536e69a5e197293a6af3..24174213e2831a4c74f9339087db7679b87b1a31 100644 (file)
@@ -318,7 +318,8 @@ account   sufficient pam_unix.so
 account   required   pam_permit.so
 
 -password sufficient pam_systemd_home.so
-password  sufficient pam_unix.so sha512 shadow try_first_pass try_authtok
+password  sufficient pam_unix.so sha512 shadow try_first_pass use_authtok
+
 password  required   pam_deny.so
 
 -session  optional   pam_keyinit.so revoke
index 93e84358058830e06f3abc6f31914dfcb0783ad7..906d1c151695b84ac6f8f8d036bbb036a00668ee 100644 (file)
@@ -139,7 +139,7 @@ account   sufficient pam_unix.so
 account   required   pam_permit.so
 
 <command>-password sufficient pam_systemd_home.so</command>
-password  sufficient pam_unix.so sha512 shadow try_first_pass try_authtok
+password  sufficient pam_unix.so sha512 shadow try_first_pass use_authtok
 password  required   pam_deny.so
 
 -session  optional   pam_keyinit.so revoke