Tuesday, June 10, 2008

Ubuntu: How to Remove a User Account

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 ~username~

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/~username~/

No comments: