.profile

I installed Red Hat 7.1.

I found that .profile is not geting executed for any user.
I checked the location of .profile . It is in home directory.

What may be the reason.

Thank you in advance!!!

Is the .profile in each home directory of each user?

Example:
account home directory
joeuser /home/joeuser
doeuser /home/doeuser

Each /home/xxxuser should have a .profile - each .profile should be owned by the xxxuser

What shell are they using?
If it's /bin/bash, then the profile is "$HOME/.bash_profile". There's also a .bashrc.
/bin/tcsh uses a different one, etc. Check the man page for each shell to see what files it needs.

Thak you for your valuable suggestion.

The file should be .bash_profile
It is getting executed.

J1yant