*BSD News Article 24620


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!usc!cs.utexas.edu!uunet!pipex!uknet!festival!edcogsci!richard
From: richard@cogsci.ed.ac.uk (Richard Tobin)
Subject: Re: [NetBSD 0.9] "spwd.db - Inappropriate file type or format" error
Message-ID: <CHF0MJ.9H0@cogsci.ed.ac.uk>
Keywords: netbsd, spwd.db, error
Organization: HCRC, University of Edinburgh
References: <2dkrgl$bi@cae.cad.gatech.edu>
Date: Thu, 2 Dec 1993 16:03:54 GMT
Lines: 11

In article <2dkrgl$bi@cae.cad.gatech.edu> dgal@cad.gatech.edu (Damon Gallaty) writes:
>I'm getting the error "spwd.db - Inappropriate file type or format" 

Do you still have some programs that were compiled under 0.8 or earlier?
(Bash is a likely candidate.)  The passwd database format changed in 0.9,
and programs compiled with the old libraries will produce these messages.

Solution - recompile anything that uses getpwent() or similar.

-- Richard
--