Linux Users and Groups

Create a user

adduser {username}

Alternatively you can do:

useradd {username}

Set the users password

passwd {username}

Create a home directory for the user (adduser should create this but if not)

cd /home && mkdir {username} && chown {username} {username}

(Optional) List available groups


Add user to a group (Most likely will need to use sudo)

usermod -a -G {groupname} {username}