2019-05-28 19:22:45 +00:00
|
|
|
From 6b50f9c5b2a1b856e65fa69de05e7c05d2b89614 Mon Sep 17 00:00:00 2001
|
2016-09-19 23:49:29 +00:00
|
|
|
From: Robbie Harwood <rharwood@redhat.com>
|
|
|
|
Date: Tue, 23 Aug 2016 16:32:09 -0400
|
2019-05-22 14:59:16 +00:00
|
|
|
Subject: [PATCH] Set a more modern default ksu CMD_PATH
|
2016-09-19 23:49:29 +00:00
|
|
|
|
2019-05-22 14:59:16 +00:00
|
|
|
ksu uses CMD_PATH to expand command names in .k5users. Include the /usr
|
|
|
|
tree and .../sbin variants. Drop nonstandard /local.
|
|
|
|
|
|
|
|
ticket: 8807 (new)
|
|
|
|
(cherry picked from commit 9eb937a6e1f740d323221813e5da096d30bd68de)
|
2016-09-19 23:49:29 +00:00
|
|
|
---
|
|
|
|
src/clients/ksu/Makefile.in | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
2015-10-01 18:33:34 +00:00
|
|
|
|
2016-09-19 23:49:29 +00:00
|
|
|
diff --git a/src/clients/ksu/Makefile.in b/src/clients/ksu/Makefile.in
|
2017-01-20 22:37:32 +00:00
|
|
|
index 5755bb58a..9d58f29b5 100644
|
2016-09-19 23:49:29 +00:00
|
|
|
--- a/src/clients/ksu/Makefile.in
|
|
|
|
+++ b/src/clients/ksu/Makefile.in
|
2015-10-01 18:33:34 +00:00
|
|
|
@@ -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"'
|
|
|
|
|
|
|
|
KSU_LIBS=@KSU_LIBS@
|
|
|
|
PAM_LIBS=@PAM_LIBS@
|