-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Raymond Norton wrote:
> When I ssh to one of our servers as a normal user and su to root, none of
> the root commands will work; ifconfig, service xx start, etc.. The shell
> indicates ifconfig and service cannot be found. Whoami shows I am logged
> in as root??
> 

Some distros don't add the */sbin entries to your path when you su (I
know Redhat does this).  You can do three things:

1> su -

This will handle the su command as a login and setup environment
variables as if you had logged in as root and not su

2> export PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin

You can do this after 'su'ing to add those paths to you current path

3> type the entire path to the command ie. /sbin/mount

- --
The Wandering Dru             GnuPG Key: 0x506A915F
http://www.druswanderings.net

Get nifty TCLUG merchandise at the TCLUG Store!
http://www.cafeshops.com/tclug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)

iD8DBQFChPEYiwhv4FBqkV8RAuXgAKDEeyi/eLCH5Hy/oqrnKRGRgNJ8mQCgrIzs
OmF4l0tTVU+N1QTUmPa4Oa0=
=QFwd
-----END PGP SIGNATURE-----