/sbin not in path in su?
Mike Chambers
mike at netlyncs.com
Tue Dec 16 16:18:36 UTC 2003
On Tue, 2003-12-16 at 10:11, Mike Evans wrote:
> Since ifconfig is in /sbin and I was su, why wouldn't /sbin be in my
> PATH?
Try doing "su -" (notice the hyphen included in the command) instead of
su. su just gets you to root, but not root's environment, therefore not
root's path(s).
--
Mike Chambers
Madisonville, KY
"It's funny until someone gets hurt...then it's hilarious!"
More information about the users
mailing list