Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I added a new ubuntu user with this command

 useradd -d /home/newname -m newname

It seems no tab completing feature and only $ as prompt, When I logged in as root I see root@server$ as prompt.

Something is missing for my new user?

THanks

share|improve this question

2 Answers 2

up vote 4 down vote accepted

sounds like your user was added with the sh shell instead of bash try the following.

su to your new user and type chsh type /bin/bash and press enter now try reloging and see if it works

share|improve this answer
1  
by default useradd reads a file /etc/default/useradd which by default has this set SHELL=/bin/sh. adduser on the other hand config defaults to bash DSHELL=/bin/bash –  max Apr 14 '13 at 7:48
    
Thanks a lot. You rock! –  icn Apr 15 '13 at 0:23

Thats odd. All this should be in your .bashrc and bash profiles I believe. That should have been populated by /etc/skel. All this leads me to think there's a deeper issue with your install.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.