Re: su path hard coded?

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



On Tue, Jul 24, 2012 at 04:43:54PM -0700, John R Pierce wrote:
> On 07/24/12 4:33 PM, Stephen Harris wrote:
> > I want the ability to "set the default path".  That's all.  Just so that

> set it in /etc/profile  then.  that gets run on su -l $someuser

Who says all my users run "/bin/sh" or "/bin/bash" as their shell?
Do I need to need to handle /etc/csh.login?  And what about non-standard
shells?

/etc/profile is a kludge; it's not a solution.  A kludge may be all I can
do.  But... *sigh*

-- 

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