From: Andrew Tropin Date: Sat, 5 Feb 2022 21:06:42 +0300 Subject: [PATCH] Change path to unix_chkpwd. unix_chkpwd is designed to have a suid bit, but it's not possible to set it for files in /gnu/store, and this patch tells unix_pam.so to lookup up for unix_chkpwd in directory generated by setuid-program system service. --- a/modules/pam_unix/Makefile.in +++ b/modules/pam_unix/Makefile.in @@ -651,1 +651,1 @@ - -DCHKPWD_HELPER=\"$(sbindir)/unix_chkpwd\" \ + -DCHKPWD_HELPER=\"/run/setuid-programs/unix_chkpwd\" \