This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: putpwent
- To: ericp at cyberdeck dot net
- Subject: Re: putpwent
- From: Mark Kettenis <kettenis at wins dot uva dot nl>
- Date: Wed, 24 Nov 1999 10:43:11 +0100 (MET)
- CC: libc-alpha at sourceware dot cygnus dot com
- References: <383BB1C3.6A1563A2@cyberdeck.net>
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