hennes' Linux adminstration cheatsheet

Create new user

adduser <username>

or alternatively (e.g. if adduser is unavailable)

useradd <username>

Create new group

groupadd <groupname>

Add user to existing group:

usermod -a -G <groupname> <username>