GitHunt
SK

skarnet/nsss

A small, statically linkable NSS-like implementation of getpwnam() et al. user database access

nsss - a secure NSS-like implementation for small libcs

nsss is a library implementing a subset of pwd.h, grp.h
and shadow.h family of functions - the subset that can use a
different backend than the standard /etc/passwd (et al.) files.
It is intended to be used with certain libcs, such as musl, that
do not implement the NSS protocol and so do not allow user/group
credentials to be stored in other databases.

Unlike NSS, nsss does not load dynamic modules and is fully
compatible with static linking. The backend is chosen at boot time
by running the appropriate daemon that will communicate with
clients.

See https://skarnet.org/software/nsss/ for details.

  • Installation

See the INSTALL file.

  • Contact information

Laurent Bercot

Languages

C66.3%Makefile23.1%Shell10.3%Emacs Lisp0.4%

Contributors

ISC License
Created June 26, 2018
Updated January 21, 2026
skarnet/nsss | GitHunt