Ubuntu: How to Remove a User Account

Posted January 13, 2008 by Rob Rogers in Linux

From time to time, it becomes necessary to remove a user account from your computer. Removing a user account from your Ubuntu system is a simple task that requires two separate terminal commands.


1. Open a terminal window.

2. First, you’ll need to delete the user account. Input the following command and hit Enter (change to the name of the user account that is to be removed):sudo userdel
3. Now you’ll want to delete the Home directory for the deleted user account. Input the following command and hit Enter (change to the name of the user account that is to be removed):sudo rm -r /home//

 

About Rob Rogers

Once a prolific author here on Tech-Recipes, Rob has moved on to greener pastures.
View more articles by Rob Rogers

The Conversation

Follow the reactions below and share your own thoughts.