~ruther/guix-local

ref: dfd18d0d751c06c8e9e93059e7a6c4fca363cc76 guix-local/gnu/packages/patches/linux-pam-unix_chkpwd.patch -rw-r--r-- 393 bytes
dfd18d0d — Maxim Cournoyer build: gnu-build-system: Compress man pages with zstd. 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
unix_chkpwd is designed to have a suid bit, but it's not possible to set it
for files in the store.  This patch tells unix_pam.so to look for
unix_chkpwd in setuid program directory on Guix System.

--- 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\" \