Re: su path hard coded?

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



On Mon, Jul 23, 2012 at 06:16:57PM -0500, Robert Nichols wrote:
> On 07/23/2012 02:37 PM, Stephen Harris wrote:

> > 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
> 
> Have you tried changing the setting for secure_path in /etc/sudoers?
> The manpage for "sudoers" has some more info about this.

"su", not "sudo".

-- 

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