From owner-freebsd-stable@FreeBSD.ORG Wed Mar 14 07:12:10 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3D69216A404 for ; Wed, 14 Mar 2007 07:12:10 +0000 (UTC) (envelope-from zen@tk-pttuntex.com) Received: from core.bps.co.id (core.bps.co.id [202.57.0.93]) by mx1.freebsd.org (Postfix) with ESMTP id E492A13C455 for ; Wed, 14 Mar 2007 07:12:09 +0000 (UTC) (envelope-from zen@tk-pttuntex.com) Received: from [172.64.14.3] (unknown [172.64.14.3]) (Authenticated sender: zen) by core.bps.co.id (Postfix) with ESMTP id 0DA7E3C64F7; Wed, 14 Mar 2007 14:12:07 +0700 (WIT) Message-ID: <45F7A109.60304@tk-pttuntex.com> Date: Wed, 14 Mar 2007 14:15:21 +0700 From: zen User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Scot Hetzel References: <45F7916F.5090703@tk-pttuntex.com> <790a9fff0703132354h4abd029ck337027da7e16b283@mail.gmail.com> <790a9fff0703140005n39e0b6b1n8cb1942259339631@mail.gmail.com> In-Reply-To: <790a9fff0703140005n39e0b6b1n8cb1942259339631@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: adduser error X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Mar 2007 07:12:10 -0000 Scot Hetzel wrote: > On 3/14/07, Scot Hetzel wrote: > >> On 3/14/07, zen wrote: >> > dear users, >> > i have problem with my fresh FreeBSD 6.2 RELEASE >> > i can not adduser to this machine, the error logs was: >> > >> > ns1# pw adduser zen -g wheel -d /home/zen -s /bin/csh >> > pwd_mkdb: corrupted entry >> > pwd_mkdb: at line #12 >> > pwd_mkdb: /etc/master.passwd: Inappropriate file type or format >> > pw: user 'zen' disappeared during update >> > ns1# pw adduser zen -g wheel -d /home/zen -s /bin/csh >> > pwd_mkdb: corrupted entry >> > pwd_mkdb: at line #12 >> > pwd_mkdb: /etc/master.passwd: Inappropriate file type or format >> > pw: user 'zen' disappeared during update >> > >> > please help regarding this problem >> > >> >> You have a corrupt entry on line 12 of /etc/master.passwd. Open >> /etc/maser.passwd using vipw. Then go to line 12, and make sure that >> all the fields are there for line #12. >> >> name:passwd:uid:gid:class:change:expire:gecos:home_dir:shell >> >> daemon:*:1:1::0:0:Owner of many system processes:/root:/usr/sbin/nologin >> > NOTE: in version 1.40 of the master.passwd file the 12th line is: > > man:*:9:9::0:0:Mister Man Pages:/usr/share/man:/usr/sbin/nologin > > Scot thanks for the enlightment. problem solve. but i wonder, how could it be a fresh install the master.passwd could be such a mess up. TIA Zen