[techtalk] su and PATH?
Brian Sweeney
bsweeney at imagedog.com
Wed Oct 11 11:06:55 EST 2000
Hey all-
Quick questions that's been bugging me for some time...if I telnet to a
machine as a normal user and SU as root, I don't gain any of the root user's
standard PATH. So when I try to execute programs I have to specify
/usr/sbin, or /usr/bin, or whatever. I'm using bash.
I know this is one of those things where I'm missing something REALLY basic
about my understanding of environment variables, so I'm figuring someone out
there's got an answer that'll make me say "DOH! Right. That makes sense."
Anyone?
-Brian
-----------------------------
Brian J. Sweeney
Systems Admin
email: bsweeney at imagedog.com
More information about the Techtalk
mailing list