pw create home dir issue
Peter Boosten
peter at boosten.org
Tue Apr 22 08:23:31 UTC 2008
Unga wrote:
> 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.
>
I use it without the slash:
adduser -d /home -q -s /usr/local/bin/rzsh
Works like charm
Peter
--
http://www.boosten.org
More information about the freebsd-questions
mailing list