Don't know what my second user's name is

Asked by John DOe on 2013-02-17

I went into the terminal and typed in useradd <user> nothing showed up after that so i assumed there was no password. I restarded the computer then i tried logging in it didn't work. Does anyone know how to fix this?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Last query:
2013-02-17
Last reply:
2013-02-17
N1ck 7h0m4d4k15 (nicktux) said : #1

Hi,

useradd is a low lever utility. Is best for you to try adduser instead.

See

man useradd

Now do you have a problem about what ? You can use

userdel

and delete the user you created earlier

see

man userdel

for more info,
then create another one with the command

sudo adduser <name>

Where <name> replace it with a name of the new user.

Thank you

Can you help with this problem?

Provide an answer of your own, or ask John DOe for more information if necessary.

To post a message you must log in.