Completely delete a user including the home directory in ubuntu Linux

This post was written by admin on September 16, 2009
Posted Under: General

If you want to remove a user from your Linux system,you may also want to erase the home directory completely.

To delete a user as well as the home directory,you can use this command in terminal window:

sudo deluser --remove-home username_here

If you have deleted the user,you can delete its home directory by typing:

sudo rm -r /home/username

Done.

Related posts:

  1. How to Share Ubuntu Home Directory with Windows
  2. Delete the package mis-configured or install failed in Ubuntu
  3. How to reset forgotten user/boot password in Ubuntu
  4. Create,Modify,Delete samba shares with system-config-samba(GUI) in Ubuntu Linux
  5. How to install Picasa 3.0 in Ubuntu Linux

    Tags:

    Reader Comments

    JuqGKf I want to say – thank you for this!

    [Reply]

    #1 
    Written By lilikindsli on September 29th, 2009 @ 9:17 pm

    vJhNYL I want to say – thank you for this!

    [Reply]

    #2 
    Written By lilikindsli on September 30th, 2009 @ 2:57 pm

    Add a Comment

    required, use real name
    required, will not be published
    optional, your blog address