Re: Problems with ifconfig in Fedora 8

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

 



> 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.

As was noted, /sbin is probably not in *your* search path.  On the system
where you have no issues, just use "su" and run "echo $PATH", and you'll
probably see /sbin listed, while doing the same on the system on which
you're having issues will probably not list it.

An easy way to fix this is to edit your .bash_profile, find the $PATH
line, and add /sbin to it.

Then, simply open a new shell, and you should have the /sbin directory in
your path, which will allow you to run ifconfig.

-- 
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@xxxxxxxxxxxxxxxxx

-- 
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