From owner-freebsd-questions@FreeBSD.ORG Tue Apr 22 08:12:40 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 43CAA1065674 for ; Tue, 22 Apr 2008 08:12:40 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from web57004.mail.re3.yahoo.com (web57004.mail.re3.yahoo.com [66.196.97.108]) by mx1.freebsd.org (Postfix) with SMTP id CA5518FC20 for ; Tue, 22 Apr 2008 08:12:39 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: (qmail 63801 invoked by uid 60001); 22 Apr 2008 08:12:38 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=ZC0kL9HCxhfsG8gOBBCRPde9IV7yICdXgnYLvcuSWYJ8DwOJEn/5ycBTr7MbHMFW0FOFy8gGZH0hc1WUUSSTeUQs7RXRAk5xEzb/57+D7qn3Xkleyzvn/iroSvm4E3jsfiQ1vSDcBLLHFKaK2hhpqj6LAoKldolqRSYmLpfRXo0=; X-YMail-OSG: WOGfb58VM1nwjmOHgRdy9JH_pLcXxYO4ljVniQ8ivAvXavOXyo6P4U1ZgMMTZ9FeLwNzrpMRZd_skppzM23PJPw0OwyNSg031mj8Gv1gCLdnWn71_H4hVtjyGH4- Received: from [165.21.155.114] by web57004.mail.re3.yahoo.com via HTTP; Tue, 22 Apr 2008 01:12:38 PDT Date: Tue, 22 Apr 2008 01:12:38 -0700 (PDT) From: Unga To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <745411.61636.qm@web57004.mail.re3.yahoo.com> Subject: 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 08:12:40 -0000 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