LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 03-03-2011, 02:36 AM   #1
f.philip
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
mail server rejects user addition


adduser: warning: the home directory already exists.
Not copying any file from skel directory into it.
 
Old 03-03-2011, 04:22 AM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
It's not rejecting the account creation (you should be able to verify this by looking at your /etc/passwd file), it's just telling you that the home directory already exists. This is expected behavior, documented in man useradd:
Quote:
Code:
       --home DIR
              Use DIR as the user's home directory, rather  than  the  default
              specified  by the configuration file.  If the directory does not
              exist, it is created and skeleton files are copied.
If you want the home directory to be created from scratch just delete the current one (or rename/move it if you don't wanna lose the data within it), then do a deluser and start again.
 
  


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
mail server naughtyness; mail from:user@server rcpt to:user@server on exim bicpen Linux - Server 1 01-27-2011 12:53 PM
yahoo rejects mail from my postfix server rhlnewbie Linux - Software 5 03-25-2009 09:39 PM
Postfix setup ntl rejects mail linuxmandrake Linux - Server 4 10-22-2007 08:24 AM
postfix rejects mail from other local server Sigkill(9) Linux - Software 4 04-10-2006 12:42 PM
Affero rejects user? SlackerLX General 1 01-01-2005 11:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:44 PM.

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