passwd
Run the following as root:
passwd username
Run the following as root:
useradd username
Run the following as root:
userdel username
Run the following as root:
userdel -r username
groups
More detailed information about user and group numerical IDs can be found with the id
command.
groups username
More detailed information about user and group numerical IDs can be found with id username
.
Parameter | Details |
---|---|
username | The name of the user. Do not use capital letters, do not use dots, do not end it in dash, it must not include colons, no special characters. Cannot start with a number. |