This is the mail archive of the libc-alpha@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: putpwent


   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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]