On Thu, May 29, 2008 at 12:58 PM, Patrick O'Callaghan <pocallaghan@xxxxxxxxx> wrote:
Correct.On Thu, 2008-05-29 at 12:22 -0400, Matthew Saltzman wrote:
> On Thu, 2008-05-29 at 08:18 -0430, Patrick O'Callaghan wrote:
> > On Thu, 2008-05-29 at 05:15 -0400, Matthew Saltzman wrote:
> > > On Wed, 2008-05-28 at 23:00 -0430, Patrick O'Callaghan wrote:
> > > > On Wed, 2008-05-28 at 21:31 -0400, Marc Ferguson wrote:
> > > > > Hi,
> > > > >
> > > > > The PATH variable seems to already have a value in it:
> > > > >
> > > > > PATH=$PATH:$HOME/bin
> > > >
> > > > I should hope so. $PATH is where the Shell looks for commands to
> > > > execute. It's a list of directories to look in.
> > > >
> > > > lspci and friends are in /sbin (or sometimes in /usr/sbin). /sbin/lspci
> > > > etc. will run them. Or do this in .bash_profile:
> > > >
> > > > PATH=/sbin:/usr/sbin:$PATH
> > >
> > > Better is
> > >
> > > PATH=$PATH:/sbin:/usr/sbin
> > >
> > > There are some programs with the same name in both /bin and /sbin
> > > and /usr/bin and /usr/sbin that behave differently. If you are a
> > > regular user, you want the /bin and /usr/bin ones, not the /sbin
> > > and /usr/sbim ones.
> >
> > Yes, but in the context of the question I'm assuming he's root, when you
> > want it the other way round.
>
> Fair enough, but if he really is *logged in* as root (in a login shell),
> these should be in his path already. That's set in /etc/profile.
>
> If he su'd to root without the - (--login) option that would explain his
> problem.
poc
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Yes I did log into root without the hyphen. Once I logged in using:
su -
I am able to use ifconfig, iwconfig, lspci, etc. I did post the results of lspci, but I'm unclear what to do with the information in it. It doesn't look like an error occurred, but then again, I don't know what I'm looking at. Thanks.
--
Marc F.
"..Grace to you and peace from Him who is and who was and who is to come.." -Rev1:4
--
Marc F.
"..Grace to you and peace from Him who is and who was and who is to come.." -Rev1:4
-- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list