/etc/init.d in the default $PATH ?
seth vidal
skvidal at linux.duke.edu
Sun Jan 28 00:32:07 UTC 2007
On Sat, 2007-01-27 at 16:27 -0800, Ron Johnson wrote:
> I don't modify the path on my system from the install default, but
> when logged in as root via 'su', /sbin is not in the path. I do see
> something in /etc/profile that is apparently supposed to put it in
> there if the EUID is zero, but it never seems to happen. I hadn't
> really thought about it much till now. Is that a bug? Does this
> happen to anyone else?
when you su you're not 'su -' which opens a login shell and processes
bash_profile
try it.
su
echo $PATH
su -
echo $PATH
-sv
More information about the fedora-devel-list
mailing list