adduser error

zen zen at tk-pttuntex.com
Wed Mar 14 07:12:10 UTC 2007


Scot Hetzel wrote:

> On 3/14/07, Scot Hetzel <swhetzel at gmail.com> wrote:
>
>> On 3/14/07, zen <zen at 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
>>
> 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


More information about the freebsd-stable mailing list