This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: libnss_db
- To: Eric Perraudeau <ericp at cyberdeck dot net>
- Subject: Re: libnss_db
- From: Andreas Jaeger <aj at suse dot de>
- Date: 24 Nov 1999 09:19:06 +0100
- Cc: libc-alpha at sourceware dot cygnus dot com
- References: <383A9E0B.84B07DA2@cyberdeck.net> <383B9BF2.BAE09AE4@cyberdeck.net>
>>>>> Eric Perraudeau writes:
Eric> Hello,
Eric> I've found your email in a Makefile located in /var/db which generates
Eric> db versions of system database files.
Eric> However, I have some questions:
Eric> when I do:
Eric> % adduser user
Eric> user is added to /etc/passwd but never in passwd.db
Eric> is it possible to do that?
Just run make in /var/db - or change adduser to do it - or run a
cronjob or whatever. There's no way that glibc can help you here.
Eric> Is it possible to have a system whitout /etc/passwd an only a db for
Eric> example?
The db needs to be created somehow and you need a way to add new
user. glibc itself can be configured to ignore /etc/passwd and only
use the db.
Have a look at the general NSS information in the glibc manual.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.rhein-neckar.de