Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2008 01:12:38 -0700 (PDT)
From:      Unga <unga888@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   pw create home dir issue
Message-ID:  <745411.61636.qm@web57004.mail.re3.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi

I cannot get the pw to create a new user's home
directory. Here is what I used:

pw -V /etc useradd -n test \
	-c "Test User" -b /home/ \
	-G "wheel,operator" -m -M 0700 \
	-k /etc/skel/ -s /usr/local/bin/bash

It creates the user without user's home directory.
Once home directory is created manually, the account
can be used. I don't have a /etc/pw.conf. I also used
-d /home/, but it still doesn't create the home
directory.

Have I made a mistake or is there a error in pw. I use
FreeBSD 7.0.

Kind regards
Unga



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?745411.61636.qm>