Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-21-2008, 02:13 PM   #1
Brian H
LQ Newbie
Registered: Jun 2008
Posts: 24

Rep: Reputation: 15
removing users

I added a user to ubuntu so you can log on using two different user names. I now want to delete that user. I went in to "users and groups" in "administration" (in "system") and clicked delete but if I go to "file system" and then "home" they are still there. I right click that user but there is no "delete" option and I can't drag it into trash. How do I delete it?
Old 06-21-2008, 02:29 PM   #2
Registered: Mar 2005
Location: North Carolina
Distribution: Arch
Posts: 977

Rep: Reputation: 73
It is normal for the home directories to be left over, you'll have to delete them as root.
Old 06-21-2008, 03:11 PM   #3
Brian H
LQ Newbie
Registered: Jun 2008
Posts: 24

Original Poster
Rep: Reputation: 15
Ok, but how do I do that? (I'M REALLY NEW AT UBUNTU)
Old 06-21-2008, 04:28 PM   #4
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
Please see man rm

Then, with very careful attention to punctuation,

sudo rm -rf /home/usernametobedeleted
Give your password.

It is done.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing users; potential problems? JF1980 Linux - Software 3 06-21-2007 08:51 AM
Removing System Users aquilla Slackware 7 10-04-2006 04:03 AM
problems adding/removing users in FreeBSD asilentmurmur *BSD 14 10-26-2005 06:43 PM
removing users with userdel linuxtesting2 Linux - Newbie 1 09-15-2004 02:35 AM
Removing users from red hat linux sam_casperson Linux - General 2 05-18-2004 11:38 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration