Adding a new user in Linux

SSH to the machine, switch to root, then:

useradd -u uid -g group -m username

(-u and -g are optional)

then:

passwd username

to define the user password.

done!

2 Responses to “Adding a new user in Linux”

  1. Bob Coon says:

    get my root passwrd

  2. Bob Coon says:

    make my root paswrd work

Leave a Reply to Bob Coon Cancel reply