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

Re: No sourcing of ~/.profile at login

David List wrote:

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
Hmm. Two more ideas:
- Are you sure you are actually using bash as your shell (check in /etc/passwd) ? - How exactly do you try to logout and login again (e.g. a `su user´ will not parse .profile, while a `su - user´ will).

Note on the /etc/skel/.bash_profile: Removing it will not have any effect, it will just avoid .bash_profile being created in new users' home directories if you create them.


Reply to: