You are not logged in.
today I did the following ugrade :
bash -> 4.1.009-3
run-parts -> 3.4.1-1
ca-certificates -> 20090814+nmu2-1
ca-certificates-java -> 20100412-1
driconf -> 0.9.1-5
filesystem -> 2010.12-1
lib32-nss 1 -> 3.12.8-1
After that noticed that if I do a 'su -' /root/.bashrc isn't sourced anymore. I solved it by linking /root/.profile to /root/.basrc, but I wonder what could be the cause of this.
Judging from 'man bash' it seems as if bash is invoked in 'sh' compatibility mode.
Last edited by rwd (2010-12-16 21:42:52)
Offline
Have you got /root/.bash_profile?
Should have inside:
. $HOME/.bashrcflack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)
Offline
It was missing indeed, and adding it solved it. Strange that it worked without that file before.
Last edited by rwd (2010-12-16 21:45:16)
Offline
Why is this file needed from now on and why for root only? What's the difference if it sources .bash_profile or .bashrc? Is .bashrc deprecated?
Offline
Good question, Boris. I could not get my root prompt to work properly until I created the file /root/.bash_login and put the prompt string into it. I could get the desired prompt by entering # . ~/.bashrc but having .bash_profile set up properly did not work for me.
Last edited by Vagabond (2010-12-17 12:09:42)
Offline