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. > > so, you can do one of 2 things: > * type /sbin/ifconfig > > or > *change your path to include /sbin (and if you are going to do that, you > may as well add /usr/sbin as well) > > in /home/YOURUSER/.bash_profile: > > (at the bottom, ideally) > > export PATH=$PATH:/sbin:/usr/sbin > > and then logout and login again > > > > > (Sorry for my english, I'm spanish) > > not a problem. My Spanish is lousy. :) > > Regards, > > Stuart > -- > Stuart Sears RHCA etc. > -- ======================================================================= Pardon this fortune. Database under reconstruction. ======================================================================= Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@xxxxxxxxxxxxx -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list