User management on Linux

Add a new user

Command:

useradd LOGIN

Options:

-c, --comment "Comment"
-m, --create-home
-u, --uid UID

Add an existing user to groups

Example:

usermod -a -G sudo,adm user