From owner-freebsd-questions@FreeBSD.ORG Mon Jul 11 21:00:12 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5481216A41C for ; Mon, 11 Jul 2005 21:00:12 +0000 (GMT) (envelope-from bwkahle@binary.net) Received: from eterna.binary.net (eterna.binary.net [216.229.0.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D1C143D45 for ; Mon, 11 Jul 2005 21:00:11 +0000 (GMT) (envelope-from bwkahle@binary.net) Received: from binary.exchange.binary.net (exchange.binary.net [216.229.0.7]) by eterna.binary.net (Postfix) with ESMTP id 4C3F7B4329 for ; Mon, 11 Jul 2005 16:00:10 -0500 (CDT) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Date: Mon, 11 Jul 2005 16:01:29 -0500 Message-ID: <24CF3A7650B276458F0A28E49AF18EBE0C0281@binary.exchange.binary.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Problem with pw not creating home directories Thread-Index: AcWGW7VJGQtW0ZdwRhu2JyvyPXe1lg== From: "Bryce Kahle" To: Subject: Problem with pw not creating home directories 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: Mon, 11 Jul 2005 21:00:12 -0000 I've been setting up a NIS domain between a couple machines and have run into a problem with pw. I have the NIS server which also has a large disk array shared via NFS. It contains a directory /nfs/home where all the NIS user home directories are supposed to be located. The problem comes when I am adding a new NIS user and want the home directory to be created. I run the following command: pw -V /var/yp useradd joeschmoe -m -Y NIS Map update started on Mon Jul 11 15:55:55 CDT 2005 for domain lbnetwork Updating passwd.byname... Updating passwd.byuid... Updating netid.byname... Updating master.passwd.byname... Updating master.passwd.byuid... NIS Map update completed. The user is added to the NIS passwd file correctly, and make runs successfully to distribute it to the clients. The problem is that the home directory supposed to have been created at /nfs/home/joeschmoe is not created. I do have a pw.conf located in /var/yp that contains the following: home /nfs/home skeleton /usr/share/skel /var/log/userlog has this: 2005-07-11 15:55:55 [bwkahle:groupadd] joeschmoe(1009) 2005-07-11 15:55:55 [bwkahle:useradd] joeschmoe(1009):joeschmoe(1009):User &:/nfs/home/joeschmoe:/bin/sh 2005-07-11 15:55:55 [bwkahle:useradd] NIS maps updated I have successfully been able to create home directories when adding a normal user account, and I do have write permissions to /nfs/home. Is this a bug in pw, or am I missing something? Thanks, Bryce Kahle =20