Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?


share|improve this question
up vote 5 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
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


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.