Adding new Linux users

To add a new user named patrice, the administrator needs to type
sudo adduser patrice.

Similarly, to delete the user, one uses the the deluser command:

sudo deluser patrice
sudo deluser patrice --remove-home.

The first command preserves the home directory while the second command deletes everything. .

Leave a Reply