From owner-freebsd-questions@freebsd.org Thu Aug 20 19:17:25 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1D01C9BF5F5 for ; Thu, 20 Aug 2015 19:17:25 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from dnvrco-oedge-vip.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.232]) by mx1.freebsd.org (Postfix) with ESMTP id E2B9E1CF2 for ; Thu, 20 Aug 2015 19:17:24 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from [70.121.59.224] ([70.121.59.224:58686] helo=[192.168.0.4]) by dnvrco-oedge02 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 82/75-02123-EB726D55; Thu, 20 Aug 2015 19:17:18 +0000 Date: Thu, 20 Aug 2015 14:17:17 -0500 From: Paul Schmehl Reply-To: Paul Schmehl To: FreeBSD Questions Subject: Problem with freebsd-update corrupting /etc/passwd Message-ID: X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-RR-Connecting-IP: 107.14.64.130:25 X-Authority-Analysis: v=2.1 cv=AIjuEwSE c=1 sm=1 tr=0 a=Jnt5oOXMh44BVXcArVZt4A==:117 a=Jnt5oOXMh44BVXcArVZt4A==:17 a=ayC55rCoAAAA:8 a=kj9zAlcOel0A:10 a=UdvEN9gbqWsBAELrqE0A:9 a=CjuIK1q_8ugA:10 X-Cloudmark-Score: 0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Aug 2015 19:17:25 -0000 I just upgraded two servers from 8.4-RELEASE to 10.2-RELEASE. On both servers I had a problem with the /etc/passwd file after upgrade. This is what I got on both servers: # pwd_mkdb -C /etc/passwd pwd_mkdb: corrupted entry pwd_mkdb: at line #3 pwd_mkdb: /etc/passwd: Inappropriate file type or format On one server a single user "disappeared" (getent passwd username returned nothing). On the other server, after I replaced it with /etc/masster.passwd, I looped through the /etc/passwd file and getent returned each entry, so no users "disappeared". Not sure what the problem might be, but I thought y'all should know. Paul Schmehl, Retired As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell