In debian systems (and in man bash), the login shell (got with su -) does not read /etc/bash.bashrc. Only the interactive shell does.
In Kubuntu, I enter "su -" to access root, and lo... the /etc/bash.bashrc gets read by the resulting login shell, and so I had placed all my bash initialiation customizations (i.e. PS1 and aliases) into /etc/bash.bashrc, so that all users including root will give me the same experience. Kubuntu does many funny things such as giving root privs to ordinary user passwords, hmmmm....
My question is: What has Kubuntu done that causes login shells to read /etc/bash.bashrc?
In Kubuntu, I enter "su -" to access root, and lo... the /etc/bash.bashrc gets read by the resulting login shell, and so I had placed all my bash initialiation customizations (i.e. PS1 and aliases) into /etc/bash.bashrc, so that all users including root will give me the same experience. Kubuntu does many funny things such as giving root privs to ordinary user passwords, hmmmm....
My question is: What has Kubuntu done that causes login shells to read /etc/bash.bashrc?
Comment