[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: No sourcing of ~/.profile at login



On Tue, 16 Sep 2003, Torsten Reuss wrote:

>>I do not have a ~/.profile, but rather a ~/.bash_profile. Perhaps that
>>is what you're looking for?
>>
>.profile is not parsed if a .bash_profile exists. I don't know with what
>bash version this behavior was introduced, but you can get normal
>behavior by just ensuring there is no .bash_profile. Also I recommend
>removing the .bash_profile from your /etc/skel directory.

I tried both suggestions:
1) Copying the contents of ~/.profile into ~/.bash_profile. No effect.
2) Removing ~/.bash_profile and /etc/skel/.bash_profile. Still no
effect.

Is there any way I can see *precisely* what happens during a user's
login - what files are being sourced and such?

Thanks for the answer.

Best regards,
David List



Reply to: