]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Set a more modern default ksu CMD_PATH 929/head
authorRobbie Harwood <rharwood@redhat.com>
Tue, 23 Aug 2016 20:32:09 +0000 (16:32 -0400)
committerGreg Hudson <ghudson@mit.edu>
Tue, 21 May 2019 21:09:23 +0000 (17:09 -0400)
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

index b2fcbf2401860b7751fbcb27649be084b9fd1fb8..8b4edce4d8f3d105d621d55e52a87c7862531ade 100644 (file)
@@ -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@