From owner-freebsd-questions@FreeBSD.ORG Mon Nov 28 14:06:18 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 4D42316A41F for ; Mon, 28 Nov 2005 14:06:18 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail26.sea5.speakeasy.net (mail26.sea5.speakeasy.net [69.17.117.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8419643D5C for ; Mon, 28 Nov 2005 14:06:17 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 7595 invoked from network); 28 Nov 2005 14:06:16 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail26.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 28 Nov 2005 14:06:16 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id C46F728444; Mon, 28 Nov 2005 09:06:15 -0500 (EST) Sender: lowell@be-well.ilk.org To: "Anthony M. Agelastos" References: <4E75A276-3D18-47D2-ADB4-96B85B182843@gmail.com> From: Lowell Gilbert Date: 28 Nov 2005 09:06:15 -0500 In-Reply-To: <4E75A276-3D18-47D2-ADB4-96B85B182843@gmail.com> Message-ID: <44d5kklve0.fsf@be-well.ilk.org> Lines: 45 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: _dhcp user problems 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, 28 Nov 2005 14:06:18 -0000 "Anthony M. Agelastos" writes: > Hello all, > > During the upgrade to 6.0, I may have created the user _dhcp > incorrectly. I was made aware of the problem when I noticed the > message during boot: > > Setting hostname: ast.home.iq. > rl0: link state changed to DOWN > rl0: no link ....rl0: link state changed to UP > got link > no such user: _dhcp, falling back to nobody > DHCPREQUEST on rl0 to 255.255.255.255 port 67 > DHCPACK from 192.168.0.1 > bound to 192.168.0.4 -- renewal in 129600 seconds. > > So, as root, I tried to create them and delete them. This is proving > unsuccessful. See below. > > ast# pw userdel _dhcp > pw: no such user `_dhcp' > ast# pw useradd _dhcp -u 65 -c "dhcp programs" -d /var/empty -s /usr/ > sbin/nologin > pw: user '_dhcp' already exists > > Are there any recommendations? I am running FreeBSD 6.0-STABLE. Some > additional information is below. Thank you so much for your > assistance. I checked the mailing list as well as Google and did not > find a fix for this particular problem. I found someone mentioning > that the database may need to be rebuilt (however I have no idea how > to do this). > > ast# cat master.passwd | grep dhcp > _dhcp:*:65:65::0:0:dhcp programs:/var/empty:/usr/sbin/nologin > ast# cat passwd | grep dhcp > _dhcp:*:65:65:dhcp programs:/var/empty:/usr/sbin/nologin > ast# cat group | grep dhcp > _dhcp:*:65: > ast# uname -a > FreeBSD ast.home.iq 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Nov 5 > 21:29:34 EST 2005 root@ast.home.iq:/usr/obj/usr/src/sys/IQKERNEL > i386 pwd_mkdb(8)?