I did kind of a default gentoo install. Created a user with adduser -m <name> and when I logged through this user or root, the .bash_profile located in the home dir of the user is not 'sourced' as specified inside the .bash_profile. Here's the file: #This file is sourced by bash when you log in interactively. [ -f ~/.bashrc ] && . ~/.bashrc eval `dircolors --sh` alias d="ls --color" alias ls="ls --color=auto" alias ll="ls --color -l" My home dir: total 10 drwxr-xr-x 2 ykoehler users 1024 Jan 28 13:11 . drwxr-xr-x 14 root root 1024 Jan 28 13:11 .. -rw------- 1 ykoehler users 11 Jan 28 13:11 .bash_history -rw-r--r-- 1 ykoehler users 189 Jan 28 13:11 .bash_profile -rw-r--r-- 1 ykoehler users 168 Jan 28 13:11 .bashrc -rw-r--r-- 1 ykoehler users 5064 Jan 28 13:11 .vimrc
I did usermod -s /bin/bash <name> And it worked. I thought I didn't have to specify the shell when creating the account because of the man of adduser: -s shell The name of the user's login shell. The default is to leave this field blank, which causes the system to select the default login shell.