[sllug-members]: Environment/Path help
Marc Christensen
marc at mecworks.com
Tue Dec 12 11:03:10 MST 2006
weales at xmission.com wrote:
> Ok, I've been using *nix for over six years (and I feel like a total
> n00b for asking this question), but I need to know how to "source" my
> root user environment variables ($PATH) after I su.
>
> I ssh into systems as a non-root user and then su.
> How can I easily "source" my root environment?
Hi Ron,
if you switch users using 'su -' rather than 'su', you should get the
new user's environment.
--
Marc Christensen
http://blog.mecworks.com
More information about the sllug-members
mailing list