LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 10-29-2011, 02:28 AM   #1
cirociro
LQ Newbie
 
Registered: Oct 2011
Posts: 3

Rep: Reputation: Disabled
the useradd is not working


I am just a new user..so have some paitence ..

I logged in as a super user but useradd is not working
i put in prompt the command

useradd -c 'mohamed ahmed' ahmed

the answer is can not find directory
please advice how to get about this as this is my firest challenge in oss.

thanks


Mohamed
 
Old 10-29-2011, 02:43 AM   #2
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 193Reputation: 193
Code:
useradd -c 'mohamed ahmed' ahmed -m
Quote:
-m, --create-home
Create the userīs home directory if it does not exist. The files and directories contained in the skeleton directory (which can be defined with the -k option) will be copied to the home directory.
Code:
man useradd
will give you all the different options etc.
 
  


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
Useradd not working ifeatu Linux - Newbie 9 10-16-2008 09:45 AM
Useradd - not working as expected Paean Solaris / OpenSolaris 13 01-31-2006 04:06 PM
useradd not working haora Linux - Newbie 2 04-19-2005 07:37 AM
'useradd' not working. reesee Linux - Newbie 1 02-28-2004 12:05 PM
Useradd not working HaZaRdOuS Linux From Scratch 2 11-25-2003 10:08 PM

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

All times are GMT -5. The time now is 11:32 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
Open Source Consulting | Domain Registration