Help answer threads with 0 replies.
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 12-13-2013, 06:01 PM   #1
Registered: Dec 2013
Posts: 112

Rep: Reputation: Disabled
Problem in deleting user account

Initially I created a user account named 'user3' later on I deleted simply using userdel command. When I again tried to make a user account with same name as user3, following message appeared:

Creating mailbox file: File exists

I came to know that best way to delete the user account is userdel -r user_name. Now I get above message every time when I try to create account named "user3".

Any suggestion, How can I get rid of these problem???
Old 12-13-2013, 06:21 PM   #2
Registered: Dec 2013
Posts: 112

Original Poster
Rep: Reputation: Disabled
I solved the problem.....
Old 12-13-2013, 06:56 PM   #3
LQ Addict
Registered: Dec 2013
Posts: 6,464
Blog Entries: 2

Rep: Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564Reputation: 1564
please tell us how.
posting on a forum always goes both ways - others might benefit from your solution.
and please mark the thread as solved.
Old 12-14-2013, 12:04 PM   #4
Senior Member
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,707

Rep: Reputation: 1270Reputation: 1270Reputation: 1270Reputation: 1270Reputation: 1270Reputation: 1270Reputation: 1270Reputation: 1270Reputation: 1270
"Creating mailbox file: File exists" is more a warning - the easy fix is just to delete the file.

To fully clean out a user requires "userdel -r <username>". This deletes the users home directory (and all the file), and deletes the users mail file. Without the -r, it only removes the login name and entries from the groups file. Frequently, this is preferred because somebody usually has to go through the files and decide what to keep, or to discard. That includes the mail file...

So leaving these around generates warnings about things that exist, that possibly shouldn't.


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
[SOLVED] deleting user account newk Linux - Newbie 7 11-27-2009 06:05 AM
is it legitimate and allowed and can be done to make another user account set uid and gid to null 0 to make another root account with different name and possibly not damage the debian system creating and using that new account BenJoBoy Linux - Newbie 12 01-29-2006 10:02 AM
X wont start after deleting user account RockmanExe Mandriva 7 03-30-2004 08:03 PM
Deleting a user account from prompt lozz1978 Linux - Newbie 8 01-15-2004 07:43 AM
Deleting account Jose Muņiz LQ Suggestions & Feedback 2 07-09-2003 02:23 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:30 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