Re: Add /sbin to sudo PATH

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



On Fri, Jan 22, 2010 at 01:19:43PM +0100, Samuel Contesse wrote:
> Thanks for the quick answer.
> 
> sudo -i simulate the initial shell, actually this is not what I'm
> looking for. 
> 
> On Debian systems, this is the default behaviour.

Sudo is meant to follow the user's PATH unless it has been compiled
with the SECURE_PATH option.  Ubuntu (and I think Debian) may compile
with that option.  It's not the default compile time option.

-- 

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