From owner-freebsd-questions@FreeBSD.ORG Sun Apr 1 10:03:50 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6623216A403 for ; Sun, 1 Apr 2007 10:03:50 +0000 (UTC) (envelope-from wim.vandamme@inabox.be) Received: from hoefnix.telenet-ops.be (hoefnix.telenet-ops.be [195.130.132.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2829A13C480 for ; Sun, 1 Apr 2007 10:03:50 +0000 (UTC) (envelope-from wim.vandamme@inabox.be) Received: from hoboe1bl1.telenet-ops.be (hoboe1bl1.telenet-ops.be [195.130.137.72]) by hoefnix.telenet-ops.be (Postfix) with ESMTP id 4EB929CC1A for ; Sun, 1 Apr 2007 11:49:10 +0200 (CEST) Received: from localhost (localhost.localdomain [127.0.0.1]) by hoboe1bl1.telenet-ops.be (Postfix) with SMTP id 9A65ED405E for ; Sun, 1 Apr 2007 11:49:08 +0200 (CEST) Received: from [10.20.30.100] (d54C7F896.access.telenet.be [84.199.248.150]) by hoboe1bl1.telenet-ops.be (Postfix) with ESMTP id 829FBD403B for ; Sun, 1 Apr 2007 11:49:08 +0200 (CEST) Message-ID: <460F8012.2010200@inabox.be> Date: Sun, 01 Apr 2007 11:49:06 +0200 From: Wim Vandamme User-Agent: Thunderbird 1.5.0.10 (X11/20070221) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: pw generates error when creating new user. 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: Sun, 01 Apr 2007 10:03:50 -0000 Hi all, I'm new to FreeBSD and this is my first attempt to setup a FreeBSD network server (DNS, NIS, DHCP). Everything went well so far. although I have a question/issue with adding new users on the NIS master server. I have a separate /var/yp/master.passwd and I have also created an entry in /etc/pw.conf (nispasswd=/var/yp/master.passwd). From what I understand from the man pages that "pw" will update both "/var/yp/master.passwd" and "/etc/master.passwd" when a new user is created and/or modified. However when I try to add a new user using "pw", an error message is generated: [root@pluto ~]# pw useradd -c ",,," -u -g -s /bin/csh -d /usr/users/velle pw: NIS passwd update: Unknown error: 0 Both "/var/yp/master.passwd" and "/etc/master.passwd" seems to be correctly modified, but I'm wondering about the cause of this error. Does anyone have some idea? Regards, W. PS: I also had problems search the archives of the mailing list. Everytime I got "no results" ...