Problems with ifconfig in Fedora 8

Mike Burger mburger at bubbanfriends.org
Tue Apr 22 16:42:18 UTC 2008


> On Tue, 2008-04-22 at 09:26 +0100, Stuart Sears wrote:
>> Pedro Jose wrote:
>> > Hello:
>> >
>> > In a Fedora 8, and also in a Centos 5.1, when I open a terminal and I
>> > login as root, I type ifconfig, but the command is not detected.
>> > However, when I go to a tty, Cntrl + Alt + F1, for example, and I
>> > login as root, ifconfig is recongnized.
>> > you are saying does not apply.
>> > How can I fix it?
>>
>> The ifconfig command is in /sbin, which is not on a normal users PATH.
> He said he loged in as root so what you are saying does not apply.

I've worked with folks long enough to know that "logged in as..." does not
always mean actually logged in as...especially knowing that he's opening a
terminal (which I take to mean that he's actually logged in as himself at
an X session, opens a terminal) and running "su" which maintains his
environment, with root privileges.

He also notes that if he goes to a tty (which I take to mean he's using
ctrl-alt-FX), and logging in as root...basically a console login, which,
like su -, will give the root user's full environment.

-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org

To be notified of updates to the web site, visit:

https://www.bubbanfriends.org/mailman/listinfo/site-update

or send a blank email message to:

site-update-subscribe at bubbanfriends.org




More information about the users mailing list