From 61838d068bced35ab0d839e0c7955f0e9b7e3b55 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Thu, 6 Jul 2006 15:50:46 +0000 Subject: [PATCH] Set the default PATH to the one set by login, with the addition of the /usr/X11R6/bin to the end of the list. --- krb5-1.5-ksu-path.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 krb5-1.5-ksu-path.patch diff --git a/krb5-1.5-ksu-path.patch b/krb5-1.5-ksu-path.patch new file mode 100644 index 0000000..93aaede --- /dev/null +++ b/krb5-1.5-ksu-path.patch @@ -0,0 +1,14 @@ +Set the default PATH to the one set by login, with the addition of the +/usr/X11R6/bin to the end of the list. + +--- krb5-1.5/src/clients/ksu/Makefile.in 2006-05-24 17:19:23.000000000 -0400 ++++ krb5-1.5/src/clients/ksu/Makefile.in 2006-07-05 14:24:41.000000000 -0400 +@@ -2,7 +2,7 @@ + myfulldir=clients/ksu + mydir=clients/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 /usr/sbin /bin /usr/bin /usr/X11R6/bin"' + DEFS= + + PROG_LIBPATH=-L$(TOPLIBD)