User management - vicgalle/wiki-example GitHub Wiki
Basic new users stuff
-
Creating a user:
sudo useradd -m sam -s /bin/bash
-m
is used to create theirhome
.-s
specifies the terminal interpreter. -
Setting the password:
sudo passwd sam
-
Deleting the user:
userdel -r sam
-r
will also remove itshome
contents.