useradd command difficulties

keith smith klsmith2020 at yahoo.com
Wed Jul 5 12:22:33 MST 2006


Hi Everyone.

Still working on that VPS w/o a control panel.

Got the FTPD server up and running.....

Now I am trying to add a user, defining the directory & no shell.

User        : klsmith03
Password : test03

After much research I came up with the following command.  

useradd  -d /home/klsmith03/public_html -m - g ftpuser -p test03 -s /bin/ftp klsmith03

I get error : useradd cannot create directory /home/klsmith03/public_html

I googled and found some others are having the same problem.  The answer on every post was to add the -m argument.  As you can see I have the -m argument in my command.  

I've moved the -m argument around but I still get the same error message.

Any help much appreciated
Keith









 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.plug.phoenix.az.us/pipermail/plug-discuss/attachments/20060705/9b805cfd/attachment.htm


More information about the PLUG-discuss mailing list