--=-Uz7Ez4+Zm4sa6T2Fqi6f Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Chances are that when you are switching to the superuser mode you are doing it with 'su' and not 'su -'. What the '-' does is load all of the profile information for that user. One piece of this information is the PATH, which is where the shell goes to find executables. Typically for users the PATH is something like /bin:/usr/bin:/usr/local/bin and for root it includes /sbin:/usr/sbin.=20 You call look at this in the following log: [ted@davinci ted]$ echo $PATH /bin:/usr/bin:/usr/bin/X11:/usr/local/bin:/usr/games:/opt/gnome/bin:/usr/X1= 1R6/bin:/home/ted/bin [ted@davinci ted]$ su Password:=20 [root@davinci ted]# echo $PATH /bin:/usr/bin:/usr/bin/X11:/usr/local/bin:/usr/games:/opt/gnome/bin:/usr/X1= 1R6/bin:/home/ted/bin [root@davinci ted]# exit exit [ted@davinci ted]$ su - Password:=20 [root@davinci root]# echo $PATH /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/= usr/X11R6/bin:/root/bin [root@davinci root]#=20 Notice how the first two paths are the same, and then the last one has a lot different stuff in it. Good Luck, Ted On Wed, 2002-11-06 at 22:49, Michael Havens wrote: > On Wednesday 06 November 2002 10:35 pm Michael Havens wrote: >=20 > Jim, I got home after the newbies meeting with renewed hope that IO was g= oing > to get my soundcard working properly. The first thing I did (out of > curiosity) is type lspci into a terminal. >=20 > [bmike1@localhost bmike1]$ lspci > bash: lspci: command not found >=20 > What? It doesn't work! > So I switched to SU >=20 > [root@localhost bmike1]# lspci > bash: lspci: command not found >=20 > What? It still doesn't work? > So I checked the man file on it but nothing appeared to be wrong. So I > thought that it was fine as long as sndconfig worked >=20 > [root@localhost /]# sndconfig > bash: sndconfig: command not found >=20 > So I checked the man file on it as well and again, everything appeared no= rmal.=20 > So I switched to the etc directory. >=20 > [root@localhost etc]# sndconfig > bash: sndconfig: command not found >=20 > What am I doing wrong? > --=20 > :-)~Mike~(-: > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us > To subscribe, unsubscribe, or to change you mail settings: > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss >=20 --=-Uz7Ez4+Zm4sa6T2Fqi6f Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEABECAAYFAj3L3OgACgkQLE335pRPGp2J8ACff1w7a3opMmlNQ3q34iq4QOXs 3aAAniDJKr6y0zHwSAp1KkT0+a3K+lr8 =ay3w -----END PGP SIGNATURE----- --=-Uz7Ez4+Zm4sa6T2Fqi6f--