Date: Tue, 22 Apr 2008 12:59:22 +0200 From: Peter Boosten <peter@boosten.org> To: Unga <unga888@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: pw create home dir issue Message-ID: <480DC50A.30602@boosten.org> In-Reply-To: <927058.56039.qm@web57002.mail.re3.yahoo.com> References: <927058.56039.qm@web57002.mail.re3.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Unga wrote: > --- Peter Boosten <peter@boosten.org> wrote: > >> >> 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 >> > > There is no keyword adduser to the pw(8) :) > Ah, yeah you're right: therefore I used the adduser command :-) Apologies for the confusion. Peter -- http://www.boosten.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?480DC50A.30602>