Re: su path hard coded?

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



On Mon, Jul 23, 2012 at 3:02 PM, Stephen Harris <lists@xxxxxxxxxx> wrote:
> >
> That's never a reasonable solution for an enterprise distro; what happens
> at the next "yum update"? :-)

The reasonable solution is to live with the defaults...

> If the answer is "it's hard coded; nothing you can do" then I guess
> I'll have to live with it.  I'm hoping, though, that there's a better
> solution :-)

Hmmm, per 'man su' on a debian system,  you can override with ENV_PATH
(default /bin:/usr/bin) or (for root) ENV_SUPATH (default
/sbin:/bin:/usr/sbin:/usr/bin) /etc/login.defs.   Adding
/usr/local/bin must be an RH-specific patch.


-- 
  Les Mikesell
    lesmikesell@xxxxxxxxx
_______________________________________________
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