LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  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
elliott678
Member
 
Registered: Mar 2005
Location: North Carolina
Distribution: Arch
Posts: 977

Rep: Reputation: 72
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
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Please see man rm

Then, with very careful attention to punctuation,

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

It is done.
 
  


Reply


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


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

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