I've created a new user account (with home directory) with the $ useradd -m newuser
command. Every time I open a terminal in this new account the follow message appears just immediately before the terminal prompt:
dircolors: no SHELL environment variable, and no shell type option given
This doesn't happen in the (only) other one account. It is an Ubuntu distro and I don't have local config files such as ~/.bash_profile
or ~/.bashrc
. All variables and configs are sourced from /etc/profile
and /etc/bash.bashrc
.