[krb5] update, move /bin before /usr/sbin to keep up with login

Nalin Dahyabhai nalin at fedoraproject.org
Tue Nov 15 17:47:14 UTC 2011


commit 2e2a9f645fc6945b8f1236540a715a31d9397baa
Author: Nalin Dahyabhai <nalin at dahyabhai.net>
Date:   Wed Nov 9 15:17:06 2011 -0500

    update, move /bin before /usr/sbin to keep up with login

 krb5-1.10-ksu-path.patch |   12 ++++++++++++
 krb5-1.9-ksu-path.patch  |   13 -------------
 2 files changed, 12 insertions(+), 13 deletions(-)
---
diff --git a/krb5-1.10-ksu-path.patch b/krb5-1.10-ksu-path.patch
new file mode 100644
index 0000000..48443ef
--- /dev/null
+++ b/krb5-1.10-ksu-path.patch
@@ -0,0 +1,12 @@
+Set the default PATH to the one set by login.
+
+--- krb5/src/clients/ksu/Makefile.in
++++ krb5/src/clients/ksu/Makefile.in
+@@ -1,6 +1,6 @@
+ mydir=clients$(S)ksu
+ BUILDTOP=$(REL)..$(S)..
+-DEFINES = -DGET_TGT_VIA_PASSWD -DPRINC_LOOK_AHEAD -DCMD_PATH='"/bin /local/bin"'
++DEFINES = -DGET_TGT_VIA_PASSWD -DPRINC_LOOK_AHEAD -DCMD_PATH='"/usr/local/sbin /usr/local/bin /sbin /bin /usr/sbin /usr/bin"'
+ DEFS=
+ 
+ PROG_LIBPATH=-L$(TOPLIBD)


More information about the scm-commits mailing list