Skip to content

NSS plugin for glibc, which reads the data from /usr/etc instead of /etc

License

Notifications You must be signed in to change notification settings

openSUSE/libnss_usrfiles

Repository files navigation

NSS usrfiles module

This is a NSS module which can read user information from files in the same format as /etc/passwd and /etc/group stored in the alternate location /usr/etc

As of version 2.27 the following files will be read by nss_usrfiles:

  • /usr/etc/group
  • /usr/etc/passwd
  • /usr/etc/shadow
  • /usr/etc/aliases
  • /usr/etc/ethers
  • /usr/etc/protocols
  • /usr/etc/rpc
  • /usr/etc/services

The sources are copied from the nss_files modules from glibc2 and adjusted for this project.

Usage

List the module the /etc/nsswitch.conf configuration file. For example:

    passwd: files usrfiles
    group:  files usrfiles

    # Other entries follow...

This will try to read files from /etc first, and under /usr/etc (using the usrfiles module).

Version scheme

Version numbers follow the numbering of the glibc releases from which the sources are taken.

Licensing

As the sources are taken from glibc, which is distributed under the terms of the LGPL 2.1, the same applies to the extra bits needed to make nss_usrfiles work.

See the file COPYING for full text and copying restrictions.

About

NSS plugin for glibc, which reads the data from /usr/etc instead of /etc

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages