update, move /bin before /usr/sbin to keep up with login
This commit is contained in:
parent
8ef1736cb6
commit
2e2a9f645f
12
krb5-1.10-ksu-path.patch
Normal file
12
krb5-1.10-ksu-path.patch
Normal file
@ -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)
|
@ -1,13 +0,0 @@
|
|||||||
Set the default PATH to the one set by login.
|
|
||||||
|
|
||||||
diff -up krb5-1.9/src/clients/ksu/Makefile.in.ksu-path krb5-1.9/src/clients/ksu/Makefile.in
|
|
||||||
--- krb5-1.9/src/clients/ksu/Makefile.in.ksu-path 2010-03-05 10:58:25.000000000 -0500
|
|
||||||
+++ krb5-1.9/src/clients/ksu/Makefile.in 2010-03-05 10:58:25.000000000 -0500
|
|
||||||
@@ -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 /usr/sbin /bin /usr/bin"'
|
|
||||||
DEFS=
|
|
||||||
|
|
||||||
PROG_LIBPATH=-L$(TOPLIBD)
|
|
Loading…
Reference in New Issue
Block a user