Re: added useradd/adduser - hostname doesn't show on this user's command prompt.
Did you create the new user with the command line utility? If so then I believe Ubuntu will create a new user with the /bin/sh shell instead of the /bin/bash shell, you can test by typing "echo $SHELL" into a terminal and if this is the problem you can easily correct it with this command
Code:
chsh -s /bin/bash NEWUSER
just replace NEWUSER with the problematic user's name, and prepend the sudo command if you are not already logged in as this user
Last edited by CaptainMark; March 4th, 2013 at 09:07 AM.
Catch me on Freenode - imark
Bookmarks