It can be useful sometimes to delete a user in order to create a new one with different permissions and allow it to manage the server or access some folder, edit certain files.
To delete a user, enter the following command :
userdel userName
Or
sudo deluser username sudo
To delete a group :
groupdel userGroup
Note: Commissions may be earned from the links above.
This page contains references to products from one or more of our advertisers. We may receive compensation when you click on links to those products. For an explanation of our advertising policy, please visit this page.