Re: /etc/init.d in the default $PATH ?

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

 



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


-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux