Blame SOURCES/krb5-1.12-ksu-path.patch

5af5b2
Set the default PATH to the one set by login.
5af5b2
5af5b2
--- krb5/src/clients/ksu/Makefile.in
5af5b2
+++ krb5/src/clients/ksu/Makefile.in
5af5b2
@@ -1,6 +1,6 @@
5af5b2
 mydir=clients$(S)ksu
5af5b2
 BUILDTOP=$(REL)..$(S)..
5af5b2
-DEFINES = -DGET_TGT_VIA_PASSWD -DPRINC_LOOK_AHEAD -DCMD_PATH='"/bin /local/bin"'
5af5b2
+DEFINES = -DGET_TGT_VIA_PASSWD -DPRINC_LOOK_AHEAD -DCMD_PATH='"/usr/local/sbin /usr/local/bin /sbin /bin /usr/sbin /usr/bin"'
5af5b2
 
4be148
 KSU_LIBS=@KSU_LIBS@
4be148
 PAM_LIBS=@PAM_LIBS@