From owner-freebsd-questions@FreeBSD.ORG Fri Jan 9 15:47:05 2009 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 B34E41065675 for ; Fri, 9 Jan 2009 15:47:05 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.10]) by mx1.freebsd.org (Postfix) with ESMTP id 8A7F88FC1A for ; Fri, 9 Jan 2009 15:47:05 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 21901 invoked from network); 9 Jan 2009 15:47:05 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 9 Jan 2009 15:47:04 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 1027050844; Fri, 9 Jan 2009 10:47:03 -0500 (EST) To: "Bert-Jan" References: <20af5b6d6703bc7b2575a763e7c70822.squirrel@admin.bert-jan.com> <44k595qz3o.fsf@be-well.ilk.org> <9d5014697dd38400633bdcdd89c9e875.squirrel@admin.bert-jan.com> From: Lowell Gilbert Date: Fri, 09 Jan 2009 10:47:03 -0500 In-Reply-To: <9d5014697dd38400633bdcdd89c9e875.squirrel@admin.bert-jan.com> (Bert-Jan's message of "Fri\, 9 Jan 2009 09\:45\:25 +0100 \(CET\)") Message-ID: <44aba0xz0o.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org, cperciva@freebsd.org Subject: Re: Login accounts don't work after update to 7.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2009 15:47:05 -0000 "Bert-Jan" writes: > I do find it strange though, that freebsd-update replaced those files, > even though it tells you it's going to change them. I don't use freebsd-update, so I'm just trying to figure it out from reading the program. [freebsd-update is mostly just a shell script] > What is the proper way to handle this ? Can I run a command after the > update finishes that regenerates the account databases from the > master.passwd ? I checked the history and *I* never touched it during the > update, so it was merged like it should. I'm not sure what the proper way is; there's certainly code in there to update the databases automatically, so you *shouldn't* have to do anything. To do the same thing manually, you can use pwd_mkdb(8). When you edit the password database with vipw(8), this is handled for you. I'd recommend trying to reproduce the problem on a spare machine, so we can understand it better. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/