Hello,
I have created a new debian user using
Code:
useradd -m [username]
When I login to the user, it doesn't have all of the functionality that root, or my postgres user, does. If I press up, it doesn't show me the recent commands, instead I just see '^[[A'.
Also, ctrl+r just prints ' ^R', instead of doing a reverse search.
Also, there is no prefix like 'root@[host] $'
Is there a simple way to have this level of functionality when creating the user? If not, what files do I need to alter to get these working?
If there is a file that I can just copy over from my postgres user, that would be great. I don't see any obvious ones in the home dir. .profile is empty. I tried changing the .bashrc in home/[user] and /etc/skel/