Re: no sbin directories in $PATH for root

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

 



>>On Mon, Jun 21, 2004 at 02:42:16PM -0700, Mike Fedyk wrote:
>>>On a fresh fc2 install, suing to root doesn't update the path to contain
>>>/sbin, /usr/sbin and /usr/local/sbin.
>>>
>>>Has anyone else had this problem?
> On Mon, 21 Jun 2004 22:45:55 +0100, Dave Cross <dave@xxxxxxxxxxx> wrote:
>>"su root" doesn't do that. "su - root" does. That's how su has always
>>worked.
>>

I've been using debian since 1999, and having the path modified for non-login shells seems normal to me. Is there any drawback where modifying $PATH for non-login shells might cause trouble?

Erik Espinoza wrote:
Would you happen to be using an old version of the j2re from Dag? He
defaulted the path improperly in /etc/profile.d/java.sh. It was
changed in subsequent versions however.

Name : j2re Version : 1.4.2 Release : 8.1.fc2.dag

Mike



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux