From 633445be1a9be37ae727c044417f5607706cf4ae Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 26 Jun 2018 00:25:28 +0000 Subject: Initial commit --- doc/index.html | 163 +++++++++++++++++++++++++++++++++++++++++++++++++ doc/libnsss/index.html | 97 +++++++++++++++++++++++++++++ doc/overview.html | 35 +++++++++++ doc/upgrade.html | 28 +++++++++ 4 files changed, 323 insertions(+) create mode 100644 doc/index.html create mode 100644 doc/libnsss/index.html create mode 100644 doc/overview.html create mode 100644 doc/upgrade.html (limited to 'doc') diff --git a/doc/index.html b/doc/index.html new file mode 100644 index 0000000..49cf697 --- /dev/null +++ b/doc/index.html @@ -0,0 +1,163 @@ + + + + + + nsss - a secure NSS-like implementation for small libcs + + + + + + +

+Software
+skarnet.org +

+ +

nsss

+ +

What is it ?

+ +

+ 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. However, not all libcs implement +a configurable backend for the user/group database. For instance the +musl libc, on Linux, only supports +the standard /etc/passwd mechanism; it also supports the +nscd protocol but this is not quite enough to implement the +full set of database access functions with certain backends (such as a +LDAP server). +

+ +

+ nsss is a secure implementation of configurable user/group/shadow +database access, providing getpwnam() et al. functionality +by communicating over a Unix domain socket with a daemon; the daemon +can perform lookups in any database it chooses. +

+ +

+ Unlike NSS, nsss does not perform dynamic module +loading, only adds a small footprint to the application's binary, +and does not add any complex decision engine into the client's address +space. Applications can be statically linked against the nsss +library, and still benefit from configurable user database access +functions. +

+ +
+ + + +
+ +

Installation

+ +

Requirements

+ + + +

Licensing

+ +

+ nsss is free software. It is available under the +ISC license. +

+ +

Download

+ + + +

Compilation

+ + + +

Upgrade notes

+ + + +
+ +

Reference

+ +

Commands

+ + + +

Libraries

+ + + +
+ + +

Related resources

+
+ +

nsss discussion

+ + + + + diff --git a/doc/libnsss/index.html b/doc/libnsss/index.html new file mode 100644 index 0000000..0307725 --- /dev/null +++ b/doc/libnsss/index.html @@ -0,0 +1,97 @@ + + + + + + nsss: the nsss library interface + + + + + + +

+nsss
+Software
+skarnet.org +

+ +

The nsss library interface

+ +

General information

+ +

+ libnsss is a client library meant to be used by client +programs needing utmp functionality. It interacts with various +server-side daemons such as +nsssd-unix. +

+ +

+ Application programs can use it directly, but most existing programs +simply use the standard +pwd.h, +grp.h or +shadow.h +interfaces, which in nsss are implemented as a series of thin wrappers +around the nsss library. +

+ +

Compiling

+ + + +

Linking

+ + + +

Programming

+ +

+ The nsss/nsss.h header is actually a collection of headers: +

+ + + +

+ By default, the getpwnam() et al. functions are aliased +to their nsss-all implementations. You can disable the +nsss-unix fallback by compiling with the NSSS_DISABLE_UNIX +macro defined (-DNSSS_DISABLE_UNIX). Or you can disable any +attempt to connect to a daemon by compiling with the +NSSS_DISABLE_SWITCH macro defined (-DNSSS_DISABLE_SWITCH). +

+ +

+ (To be completed.) +

+ + + diff --git a/doc/overview.html b/doc/overview.html new file mode 100644 index 0000000..222e296 --- /dev/null +++ b/doc/overview.html @@ -0,0 +1,35 @@ + + + + + + nsss: an overview + + + + + + +

+nsss
+Software
+skarnet.org +

+ +

An overview of nsss

+ +

+ nsss is a secure implementation of a subset of the +pwd.h, grp.h and shadow.h functionality, i.e. +user authentication on Unix systems. It includes full POSIX +functionality, a few GNU extensions, and an underlying +C client library with better error reporting +than the POSIX interface specifies. +

+ +

+ To be completed. +

+ + + diff --git a/doc/upgrade.html b/doc/upgrade.html new file mode 100644 index 0000000..5ff9e3b --- /dev/null +++ b/doc/upgrade.html @@ -0,0 +1,28 @@ + + + + + + How to upgrade nsss + + + + + + +

+nsss
+Software
+skarnet.org +

+ +

What has changed in nsss

+ +

in 0.0.1.0

+ +

+ Initial release. +

+ + + -- cgit v1.3.1