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: libnss_db


>>>>> 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

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