Skip to main content

Thread: Adding a new user


i new running own ubuntu server. tried add second user server following command:
code:
sudo useradd -d /home/user -m user -p 12345
when log account, prompt is:
code:
$
opposed should get:
code:
user@ubuntu-server:~$
no commands work, except exit. did wrong, , can fix it?

sounds /etc/skel did not copied on new user's home. if "ls -al" contents of home directory, see files?

sounds valid shell not assigned.

can post output of
code:
grep user /etc/passwd
(where "user" username created)


Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [SOLVED] Adding a new user


Ubuntu

Comments