I have installed ubuntu minimal(mini.iso) on my vm. I then used recovery mode to login as root and create an account with
useradd -m adminand then set a password with
When I login on the new account, instead of the normal prompt I only see a
$sign. If I try to tab-complete a command or file name it prints a normal tab. If I try to use the arrow keys it prints
lsno longer adds colors.
None of these problems were in recovery mode. How can I fix this?
sudo chsh -s /bin/bash <username>
In future you might want to use the ‘adduser’ command instead of ‘useradd’ – it sets up a more complete user environment including things like a default .profile and .bashrc – as well as setting the login shell to ‘bash’