Re: [Fedora] Re: FC6 not connecting

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

 



On Wed, 2007-01-31 at 22:37 +0000, Anne Wilson wrote:
> On Wednesday 31 January 2007 19:59, Beartooth wrote:
> > On Tue, 30 Jan 2007 21:12:42 +0000, Anne Wilson wrote:
> > > On Tuesday 30 January 2007 20:52, Beartooth wrote:
> > >> lsmod from a root prompt gets me "bash: lsmod: command not found"
> >
> >           ^^^^^^^^^^^^^^^^^
> >
> > > That's typical of what you get when you try it as user.  Have you tried
> > > it as root?
> >
> > Actually, I keep two tabs on my terminal (with background color
> > contrasting to the default!) permanently signed on to root, one at / and
> > one at /home/btth for things I do in that directory.
> >
> > I didn't c&p from there only because the problem machine, not seeing even
> > the router, gives me no way I've yet found to use c&p to another machine
> > that does access the Net. (Its K3B doesn't recognize my CD drive as a
> > burner, and I haven't actually used a floppy for so long I don't remember
> > how.)
> >
> > But I did mean the phrase "from a root prompt" to imply that that machine
> > shows me exactly what, as a matter of fact, I also get on the biggest
> > newest one, which I'm using now :
> >
> > [root@localhost btth]# lspci
> > bash: lspci: command not found
> > [root@localhost btth]# lsmod
> > bash: lsmod: command not found
> > [root@localhost btth]#
> >
> Sorry - somehow I missed that.
----
as user...

echo $PATH
/usr/kerberos/bin:/usr/java/jre/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/NX/bin

as user that performs 'su'
/usr/kerberos/sbin:/usr/java/jre/bin:/usr/kerberos/bin:/usr/java/jre/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/NX/bin:/usr/NX/bin

as user that performs 'su -' # note the dash
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/java/jre/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/NX/bin:/root/bin

Note that each is different and it is an important difference...

# which lspci lsmod
/sbin/lspci
/sbin/lsmod

and /sbin path (and for that matter, /usr/sbin path) is only available
to the user who performs the command 'su -'

Craig


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux