su path hard coded?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Is there any way of changing the PATH that's set by 'su' to be specific
to my needs?   It looks like 'su' has the path's hard coded.

% rpm -qf /bin/su
coreutils-5.97-34.el5_8.1

% strings /bin/su | grep local.bin
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
/usr/local/bin:/bin:/usr/bin

I could kludge it with pam_env, I guess, but that may have
more impact than just 'su' and I'd like to avoid side-effects.

Thanks!
-- 

rgds
Stephen
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux