Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Mar 2007 01:54:31 -0500
From:      "Scot Hetzel" <swhetzel@gmail.com>
To:        zen <zen@tk-pttuntex.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: adduser error
Message-ID:  <790a9fff0703132354h4abd029ck337027da7e16b283@mail.gmail.com>
In-Reply-To: <45F7916F.5090703@tk-pttuntex.com>
References:  <45F7916F.5090703@tk-pttuntex.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/14/07, zen <zen@tk-pttuntex.com> 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

Scot
--
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0703132354h4abd029ck337027da7e16b283>