[CentOS] Add /sbin to sudo PATH
lists at spuddy.org
Fri Jan 22 14:19:46 UTC 2010
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.
More information about the CentOS