[CentOS] su path hard coded?
Stephen Harris
lists at spuddy.org
Tue Jul 24 23:33:33 UTC 2012
On Tue, Jul 24, 2012 at 04:46:24PM +0000, David G. Miller wrote:
> Stephen Harris <lists at ...> writes:
> > You've missed the point. I want the ability to set the default path on
> > 'su -' to be /bin:/usr/bin and then let the users override if they wish.
> > I do not want the default path to be /usr/local/bin:/bin:/usr/bin
>
> Silly question but what are you actually trying to accomplish? Restricting the
I want the ability to "set the default path". That's all. Just so that
when I do "su - foobar" then the path defaults to /bin:/usr/bin. If foobar
wants to add /usr/local/bin then foobar decides. If I decide I want the
default path to be /myspecial/bin:/bin:/usr/bin (so that all my users get
this, by default) then I can.
Just "set the default path". Nothing more, nothing less.
--
rgds
Stephen
More information about the CentOS
mailing list