Deleting a user may be necessary if it is no longer needed. It may also be necessary when reallocating resources or when changing user access rights.
Let's look at how to delete a user in Ubuntu using the graphical interface. This is one of the simplest and most accessible ways that every system owner can use.
Opening the system Parameters.
Then click on the item Users.
All actions are currently unavailable and are grayed out. To activate them, click the Unlock button and enter the user's password.
Next, to delete a user in linux, just click on it with the mouse, and then click the Delete User button at the bottom of the page.
In the window that opens, you can choose what to do with the user's files.
Naturally, only the home folder will be deleted, we are not talking about all files. And for correct deletion, the user must not be logged in to the system.
Apply the discount by inserting the promo code in the special field at checkout: