> Naitik Shah <[EMAIL PROTECTED]> [2003-10-04 10:47]:
>

> One possibility might be the fact that when you su, I believe
> .bashrc gets executed, and .bash_profile does not, as it isn't a
> login shell. Whereas when you login (or alternatively do: su -c
> "bash --login" ) .bash_profile gets run. So depending on the paths
> each of these set, your path could possibly vary in a login /
> non-login shell.
>

if you want to have the "full" environment, add a dash '-' after the
'su', i.e. I su to root by 'su -' to load the full environment.

wbr,
Lukas
-- 
Lukas Ruf           | Wanna know anything about raw |
<http://www.lpr.ch> | IP?  <http://www.rawip.org>   |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to