LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-20-2002, 07:08 PM   #1
wbheinkel
LQ Newbie
 
Registered: Jan 2002
Location: Bonita Springs, FL
Distribution: Mandrake 8.1
Posts: 29

Rep: Reputation: 15
Unhappy Problem with useradd


I am very new to Linux and a little stupid I think. I am trying to setup Samba useing step by step directions from Linuxmewbie.org. Here is my problem I typed "useradd -D". and it told me,

GROUP=501
HOME=/home/public
INACTIVE=-1
EXPIRE=
SHELL:=/bin/bash
SKEL=/etc/skel

The group 501 is smb. When I type "useradd smbuser" it says "useradd:Cannot create directory /home/public/smbuser. I was working in root. What options should I use?

Last edited by wbheinkel; 01-20-2002 at 07:10 PM.
 
Old 01-21-2002, 12:06 AM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
do you have a folder named /home/public ?

mkdir /home/public

also you may want to try adduser
 
Old 01-21-2002, 05:56 AM   #3
wbheinkel
LQ Newbie
 
Registered: Jan 2002
Location: Bonita Springs, FL
Distribution: Mandrake 8.1
Posts: 29

Original Poster
Rep: Reputation: 15
The way I read the directions I thought useradd made the dir. /home/public. I used you suggestion and used mkdir /home/public then useradd sbmuser. That worked fine thanks
 
  


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 problem ruben0076 Linux - Newbie 4 01-11-2005 11:28 AM
useradd problem efanning Linux - Newbie 1 07-29-2004 07:24 PM
useradd problem giovannym Linux - Newbie 4 06-23-2004 07:59 PM
useradd Problem deepakjena_2003 Linux - Newbie 2 01-19-2004 08:21 AM
useradd -p problem gizbon Linux - General 4 11-11-2002 03:03 PM

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

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