all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob e5c6d2649ca8a3568d7bf8139d903711ffdcd98f 535 bytes (raw)
name: gnu/packages/patches/change-path-to-unix_chkpwd.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
 
From: Andrew Tropin <andrew@trop.in>
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\" \

debug log:

solving e5c6d2649c ...
found e5c6d2649c in https://yhetil.org/guix/878ruo60c9.fsf@trop.in/

applying [1/1] https://yhetil.org/guix/878ruo60c9.fsf@trop.in/
diff --git a/gnu/packages/patches/change-path-to-unix_chkpwd.patch b/gnu/packages/patches/change-path-to-unix_chkpwd.patch
new file mode 100644
index 0000000000..e5c6d2649c

Checking patch gnu/packages/patches/change-path-to-unix_chkpwd.patch...
Applied patch gnu/packages/patches/change-path-to-unix_chkpwd.patch cleanly.

index at:
100644 e5c6d2649ca8a3568d7bf8139d903711ffdcd98f	gnu/packages/patches/change-path-to-unix_chkpwd.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.