David Craig

PHP Developer from Sunderland, England

Create the 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

groups

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

usermod -a -G {groupname} {username}

}