From owner-freebsd-questions@FreeBSD.ORG Wed Apr 23 11:49:48 2003 Return-Path: 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 C0A3F37B401 for ; Wed, 23 Apr 2003 11:49:48 -0700 (PDT) Received: from pa-plum1b-166.pit.adelphia.net (pa-plum1a-215.pit.adelphia.net [24.53.170.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id F037E43FB1 for ; Wed, 23 Apr 2003 11:49:47 -0700 (PDT) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (working [172.16.0.95]) h3NIjq0n000778; Wed, 23 Apr 2003 14:46:04 -0400 (EDT) (envelope-from wmoran@potentialtech.com) Message-ID: <3EA6DF60.7000708@potentialtech.com> Date: Wed, 23 Apr 2003 14:45:52 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030301 X-Accept-Language: en-us, en MIME-Version: 1.0 To: abdul References: <001201c309b7$5cd53e50$ea640180@abdul> In-Reply-To: <001201c309b7$5cd53e50$ea640180@abdul> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: "/etc/master.passwd: corrupted entry" error message X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2003 18:49:49 -0000 abdul wrote: > Hi all > I use FreeBSD 2.2.8-RELEASE > > I sometimes get the following error when I issue "passwd user" command as > root: > > "passwd: /etc/master.passwd: corrupted entry > passwd: /etc/master.passwd: unchanged" > > Can someone pls explain why I sometimes get this error message and the way > aroung it? Because your master.passwd file is corrupt? I wouldn't suggest you simply post it to the newsgroups (unless you carefully remove all the encrypted passwords first) but it's rather difficult to see what's corrupt in your master.passwd file without _seeing_ the file. Have reviewed the file to see if anything looks out of sorts? You could use vipw(8) or simply open it in your favorite editor. -- Bill Moran Potential Technologies http://www.potentialtech.com