putpwent

Mark Kettenis kettenis@wins.uva.nl
Wed Nov 24 01:43:00 GMT 1999


   Date: Wed, 24 Nov 1999 10:37:07 +0100
   From: Eric Perraudeau <ericp@cyberdeck.net>

   when I use db for passwd in nsswitch.conf and use the function putpwent
   whith the file passwd.db, the entry is not well formated for the db but
   like in /etc/passwd. What is the problem?

putpwent() is a function from the distant past when /etc/passwd was
the only placxe where user information was stored.  It is provided for
backwards compatibility only, and totally useless on modern systems.
Don't use it!

Mark


More information about the Libc-alpha mailing list