[CentOS] su path hard coded?

Wed Jul 25 10:10:37 UTC 2012
Stephen Harris <lists at spuddy.org>

On Tue, Jul 24, 2012 at 11:27:09PM -0400, Karl Vogel wrote:
> >> On 07/24/12 4:33 PM, Stephen Harris wrote:
> S> I want the ability to "set the default path".  That's all.
> 
>    It sounds like your best bet would be to change the source for su, and
>    just be prepared to reinstall it if/when yum (or whatever) replaces it.
> 
>    Being able to specify the default PATH without having to mess with shell
>    setup files is a nice feature; Solaris allows you to do this by providing
>    an /etc/default/su file to set the PATH plus other things like whether you
>    want to use syslog for access logging, etc.

Yeah, that's the functionality I was hoping to be able to replicate.
Seems like an odd RedHat restriction, especially since other Linux
variants can do this via login.defs.  Ah well.

I guess I'll have to live with it.

Thanks!

-- 

rgds
Stephen