[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: su
>
> when i log on directly or using `su -' the .bash_profile in my
> home directory gets executed . But when i just `su' into my login then
> nothing happens . Is there any file that bash looks for when i su into my
> login ?
>
> I need a solution desperately...
> cheers
> cheedu
When u su, the only thing that is being done is executing a shell with the
euid of the user you are suing as.:-)
The shell is simply executed. It's like typing
bash <enter>
It doesn't run the .bash_profile and all your local settings don't work.