when I create a new user in Ubuntu Server and then try to login with the new user I get an error message.
In one case Ubuntu tells me that the home directory of the user doesn't exist when I login and Ubuntu then shows me a dollar shell. In the other case, when I create a home folder for the user, Ubuntu just shows me a dollar shell when I log in with the user.
I use: useradd NAME. I thought the home directory was automatically created when creating a user.
Can anyone help me?

sudo useradd -d /home/user -m useris the correct commnand ;) – Rinzwind Jan 21 at 15:47