Subject: Re: Problem with NIS on -current
To: I'Khala <guru@nscl.msu.edu>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 06/22/2005 13:12:03
On Wed, 22 Jun 2005, I'Khala wrote:
> Afternoon folks,
> I've updated my -current box doing a reinstall to on a larger disk.
> I'm encountering a problem trying to add nis users to my password
> file. Everytime I try to add and entry of the form:
>
> +userid:*:0:0:::
>
> I get the following error:
>
> beastie:root# vipw
> pwd_mkdb: corrupted entry
> pwd_mkdb: at line #17
> pwd_mkdb: /etc/ptmp: Inappropriate file type or format
> re-edit the password file? [y]:
>
> Has something changed, or have I overlooked something. (probably the latter
> I know) Any help would be appreciated.
The password database is ten fields.
See master.passwd(5) manual page.
So add fields for user's login class, password change time, and account
expiration time.
Jeremy C. Reed
BSD News, BSD tutorials, BSD links
http://www.bsdnewsletter.com/