This is a NSS module which can read user information from files
in the same format as
/etc/group stored in an
alternate location (
/lib by default).
List the module the
/etc/nsswitch.conf configuration file.
passwd: files altfiles group: files altfiles # Other entries follow...
This will try to read files from
/etc first, and under
/lib (using the
altfiles module). Modifications will be
stored in the files under
/etc (e.g. when using
to change an user passwords).
./configure && make && make install dance will
configure script allows to change the install
path and the path to the alternative data files:
./configure --prefix=/installdir/path --datadir=/var
The example above would build an
altfiles NSS module that
will read user information from
which is to be installed under
To ease the task of packagers, the
DESTDIR variable can
be passed to
make install DESTDIR=/tmp/fakerootdir
Version numbers follow the numbering of the eglibc releases,
adding a local revision number:
For example version
2.13.0 would contain the source files
from eglibc 2.13, and the base modifications to make it the
altfiles module; version
2.15.3 would contain the source
files from eglibc 2.15, and the base modifications plus three
Git tags do also follow this versioning.
As eglibc is distributed under the terms of the LGPL 2.1, the
same applies to the extra bits needed to make
See the COPYING file in the source directory for the full text of the license.