Lorenzo Bettini wrote:
Hi

on the standard user's home I use everyday I have the .bashrc file that is read upon login.

Now I created a brand new user (with adduser), but the .bashrc file I inserted in his home is never read upon login... in /etc/profile and /etc/bash.profile the .bashrc is actually never read... so how does it work?
Check .bash_profile for the original user. It is probably sourcing .bashrc with code similar to:

# include .bashrc if it exists
if [ -f ~/.bashrc ]; then
   . ~/.bashrc
fi

and your new user is probably not doing this.

--
Marc Shapiro
[EMAIL PROTECTED]



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to