From owner-freebsd-questions Wed Mar 20 3:38:35 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dns.perimeter.co.za (dns.perimeter.co.za [196.25.164.254]) by hub.freebsd.org (Postfix) with ESMTP id E2D7D37B417 for ; Wed, 20 Mar 2002 03:38:23 -0800 (PST) Received: from patrick (loopback.mipjhb [209.212.102.245] (may be forged)) by dns.perimeter.co.za (8.11.1/8.11.1) with SMTP id g2KBcB555968; Wed, 20 Mar 2002 13:38:13 +0200 (SAST) (envelope-from bsd@perimeter.co.za) Message-ID: <00ae01c1d004$b1ffc320$b50d030a@patrick> From: "Patrick O'Reilly" To: , "Martin Chandler" References: <5.0.2.6.2.20020320202415.01eb66f0@mail.tvt.ne.jp> Subject: Re: pw -m with -V Date: Wed, 20 Mar 2002 13:45:05 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Martin Chandler" > Hi, > > I have been trying to add users to just the NIS password map on a NIS > server which is being kept separate from the regular password file. > > I have been using > > pw -V /var/yp useradd USER -m -Y > > to create the user. The password map is updated fine, but the user's home > directory in not being created. > If I run pw without the -V option the home directory is created no problem. > Is there something I am missing when implementing the -V option? Martin, You need to use -C so that pw will read your normal pw.conf file, and hence know where to create the user's home directory. Or, put a copy of /etc/pw.conf into /var/yp . man pw, and study the -V section for the explanation of this. Patrick. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message