Get the latest tech news

Nsss: A secure NSS-like implementation for static linking


ware skarnet.org nsss is an implementation of a subset of the pwd.h, group.h and shadow.h family of functions, performing user database access on Unix systems. Usually, user database access via getpwnam() and similar function is provided by the system's libc.

nsss is an implementation of a subset of the pwd.h, group.h and shadow.h family of functions, performing user database access on Unix systems. The mechanism used by glibc, called Name Service Switch(abbreviated to nsswitch or NSS), has its own set of issues that makes it unsuitable in certain situations. A client application using one of the following primitives will automatically perform libnsss calls: endpwent() setpwent() getpwent() getpwent_r() getpwuid() getpwuid_r() getpwnam() getpwnam_r() endgrent() setgrent() getgrent() getgrent_r() getgrgid() getgrgid_r() getgrnam() getgrnam_r() getgrouplist() endspent() setspent() getspent() getspent_r() getspnam() getspnam_r()

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Nsss

Nsss

Photo of secure NSS

secure NSS

Photo of like implementation

like implementation