krb5 commit: Set a more modern default ksu CMD_PATH

Greg Hudson ghudson at mit.edu
Tue May 21 17:36:06 EDT 2019


https://github.com/krb5/krb5/commit/9eb937a6e1f740d323221813e5da096d30bd68de
commit 9eb937a6e1f740d323221813e5da096d30bd68de
Author: Robbie Harwood <rharwood at redhat.com>
Date:   Tue Aug 23 16:32:09 2016 -0400

    Set a more modern default ksu CMD_PATH
    
    ksu uses CMD_PATH to expand command names in .k5users.  Include the /usr
    tree and .../sbin variants.  Drop nonstandard /local.
    
    ticket: 8807 (new)

 src/clients/ksu/Makefile.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/clients/ksu/Makefile.in b/src/clients/ksu/Makefile.in
index b2fcbf2..8b4edce 100644
--- a/src/clients/ksu/Makefile.in
+++ b/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"'
 
 KSU_LIBS=@KSU_LIBS@
 


More information about the cvs-krb5 mailing list