Re: su path hard coded?

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



On Tue, Jul 24, 2012 at 04:46:24PM +0000, David G. Miller wrote:
> Stephen Harris <lists@...> 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
_______________________________________________
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