bash and login files
Had some problems with a user not getting the correct prompt (PS1) even though it was in his .bashrc file, as WELL as being in the global /etc/bashrc.
On a default RedHat install the file .bash_profile is run when a user logs in, which calls ~/.bashrc which calls the global /etc/bashrc. Weird, but it's working now. The user was missing the line in .bash_profile which started the whole process.
On a default RedHat install the file .bash_profile is run when a user logs in, which calls ~/.bashrc which calls the global /etc/bashrc. Weird, but it's working now. The user was missing the line in .bash_profile which started the whole process.