[techtalk] su and PATH?
Elaine Poulsen
elainep at imall.com
Wed Oct 11 09:35:50 EST 2000
when you su use su - root or su -l root
to take on roots environment.
Brian Sweeney wrote:
>
> 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
>
> _______________________________________________
> techtalk mailing list
> techtalk at linuxchix.org
> http://www.linux.org.uk/mailman/listinfo/techtalk
--
********************************************
Elaine Poulsen
Product Operations Engineer
Excite at Home - The Leader in Broadband
VOICE: 801.234.8319
FAX: 801.234.8480
Can you get @Home service? http://www.home.com/now
"Do not approach wild animals."
More information about the Techtalk
mailing list