Differences between current version and predecessor to the previous major change of NSS.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 4 | Last edited on Monday, October 4, 2004 4:01:36 pm | by JohnMcPherson | |
Older page: | version 2 | Last edited on Monday, October 4, 2004 2:16:51 pm | by DanielLawson | Revert |
@@ -1,20 +1,34 @@
[Acronym] for __N__ame __S__ervice __S__witch
-The NSS is a glibc mechanism for providing multiple methods of accessing common databases such as the password or hosts database. It is commonly used to provide an interface to both local /etc/passwd (and shadow) files, and a remote authentication mechanism such as [NIS] or [LDAP].
+The [
NSS]
is a glibc mechanism for providing multiple methods of accessing common databases such as the password or hosts database. It is commonly used to provide an interface to both local <tt>
/etc/passwd</tt>
(and shadow) files, and a remote authentication mechanism such as [NIS] or [LDAP].
-The databases available
for configuration within
the NSS are:
-* aliases: Mail aliases
-* ethers: Ethernet numbers,
-* group: Groups of users
-* hosts: Host names and numbers
.
-* netgroup: Network wide list of host and users
-* networks: Network names and numbers
-* protocols: Network protocols
-* passwd: User passwords
-* rpc: Remote procedure call names and numbers,
-* services: Network services
-* shadow: Shadow user passwords
+The config file
for specifying backend methods for each database is /etc/nsswitch.conf -- see
the nsswitch.conf(5) ManPage
.
-Most of these databases are normally only configured for flatfile access: protocols and services, for example, look up only in /etc/protocols and /etc/services. You could serve these from LDAP, or from a DBM file, or from an SQL database
, or so on.
+The databases available for configuration within the [NSS] are:
+
+aliases(5)::
+ Mail aliases
+ethers(5)::
+ Ethernet numbers,
+group(5)::
+ Groups of users
+hosts(5)::
+ Host names and numbers.
+netgroup(5)::
+ Network wide list of host and users
+networks(5)::
+ Network names and numbers
+protocols(5)::
+ Network protocols
+passwd(5)::
+ User passwords
+rpc(5)::
+ Remote procedure call names and numbers,
+services(5)::
+ Network services
+shadow(5)::
+ Shadow user passwords
+
+
Most of these databases are normally only configured for flatfile access: protocols and services, for example, look up only in <tt>
/etc/protocols</tt>
and <tt>
/etc/services</tt>
. You could serve these from [
LDAP]
, or from a [
DBM]
file, or from an [
SQL] DataBase
, or so on.
See http://www.delorie.com/gnu/docs/glibc/libc_591.html for more information on the glibc [NSS]