Re: Problems with ifconfig in Fedora 8

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

 



On Tue, 2008-04-22 at 09:50 -0500, Aaron Konstam wrote:
> On Tue, 2008-04-22 at 11:46 +0200, Pedro Jose wrote:
> > Thanks.
> > 
> > I send this question because in others computers with Fedora 8
> > installed, when I login as root with su, ifconfig is available, but in
> > my computer no. I'll try with su-, but my question is why  it works in
> > other computers and not in mine with su.
> > 
> It should not work on any computer. As was explained in the previous
> post su makes you root with the users environment that does not
> have /sbin or /usr/sbin in its path.

Maybe not by default, but I usually modify /etc/bashrc to include /sbin
and /usr/sbin in the PATH for root. /etc/profile actually does this
already but of ocurse that's only for login shells. I don't really see
the point of not doing it for "normal" su usage.

poc

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

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

  Powered by Linux