Annotated edit history of
NSS version 4, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
1 |
DanielLawson |
1 |
[Acronym] for __N__ame __S__ervice __S__witch |
|
|
2 |
|
3 |
AristotlePagaltzis |
3 |
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]. |
4 |
JohnMcPherson |
4 |
|
|
|
5 |
The config file for specifying backend methods for each database is /etc/nsswitch.conf -- see the nsswitch.conf(5) ManPage. |
1 |
DanielLawson |
6 |
|
3 |
AristotlePagaltzis |
7 |
The databases available for configuration within the [NSS] are: |
1 |
DanielLawson |
8 |
|
3 |
AristotlePagaltzis |
9 |
aliases(5):: |
|
|
10 |
Mail aliases |
|
|
11 |
ethers(5):: |
|
|
12 |
Ethernet numbers, |
|
|
13 |
group(5):: |
|
|
14 |
Groups of users |
|
|
15 |
hosts(5):: |
|
|
16 |
Host names and numbers. |
|
|
17 |
netgroup(5):: |
|
|
18 |
Network wide list of host and users |
|
|
19 |
networks(5):: |
|
|
20 |
Network names and numbers |
|
|
21 |
protocols(5):: |
|
|
22 |
Network protocols |
|
|
23 |
passwd(5):: |
|
|
24 |
User passwords |
|
|
25 |
rpc(5):: |
|
|
26 |
Remote procedure call names and numbers, |
|
|
27 |
services(5):: |
|
|
28 |
Network services |
|
|
29 |
shadow(5):: |
|
|
30 |
Shadow user passwords |
|
|
31 |
|
|
|
32 |
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. |
1 |
DanielLawson |
33 |
|
|
|
34 |
See http://www.delorie.com/gnu/docs/glibc/libc_591.html for more information on the glibc [NSS] |