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 :
sudo deluser username sudo
To delete a group :
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.