core/pkgs/by-name/pa/pam/suid-wrapper-path.patch

7 lines
262 B
Diff
Raw Permalink Normal View History

2024-05-02 00:46:19 +00:00
It needs the SUID version during runtime, and that can't be in /nix/store/**
--- a/modules/pam_unix/Makefile.am
+++ b/modules/pam_unix/Makefile.am
@@ -21 +21 @@
- -DCHKPWD_HELPER=\"$(sbindir)/unix_chkpwd\" \
+ -DCHKPWD_HELPER=\"/run/wrappers/bin/unix_chkpwd\" \