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: [EMAIL PROTECTED]
>
> _______________________________________________
> techtalk mailing list
> [EMAIL PROTECTED]
> http://www.linux.org.uk/mailman/listinfo/techtalk
--
********************************************
Elaine Poulsen
Product Operations Engineer
Excite@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."
_______________________________________________
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk