summary refs log tree commit diff
path: root/pkgs/os-specific/linux/pam/suid-wrapper-path.patch
blob: a427ccf388162fe3bd5b3246ef489eefe7129018 (plain) (blame)
1
2
3
4
5
6
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\" \