From owner-freebsd-questions@FreeBSD.ORG Tue Apr 22 10:54:15 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A026106564A for ; Tue, 22 Apr 2008 10:54:15 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from web57002.mail.re3.yahoo.com (web57002.mail.re3.yahoo.com [66.196.97.106]) by mx1.freebsd.org (Postfix) with SMTP id D80BF8FC0A for ; Tue, 22 Apr 2008 10:54:14 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: (qmail 57074 invoked by uid 60001); 22 Apr 2008 10:54:14 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=c/FFgNWMaqpi5+cS0GBRYdFb1vCqnGE5OaS79s4HFVfHNEl89Z6NvRgQGdJEb25pL21oq3gUmsyS0vp4fNQf0MX1VUecIRJS6Xnn540ndNAeNMzhWRC5mqTcYL/oZ+r/1B/zZqw12fsxp65zwPXbtPWjKsLGYrGwV21WDZK8VQE=; X-YMail-OSG: IeTQooIVM1kfZ0EGRGYJwc69EMviy6rHA0yr35bWF4hGj4Dy_ss0LmPGeAGDDVo_bQbQJPp2hE9m3b9sUmGnfMQ3Tk3HvmQ1Xv21Y7eydoVeYtrhEMwFcqveGr8- Received: from [165.21.155.116] by web57002.mail.re3.yahoo.com via HTTP; Tue, 22 Apr 2008 03:54:13 PDT Date: Tue, 22 Apr 2008 03:54:13 -0700 (PDT) From: Unga To: freebsd-questions@freebsd.org In-Reply-To: <480DA07F.4030905@boosten.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <927058.56039.qm@web57002.mail.re3.yahoo.com> Cc: peter@boosten.org Subject: Re: pw create home dir issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Apr 2008 10:54:15 -0000 --- Peter Boosten 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) :) Regards Unga ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ