diff options
author | Carlos O'Donell <carlos@redhat.com> | 2019-03-20 12:40:18 -0400 |
---|---|---|
committer | Carlos O'Donell <carlos@redhat.com> | 2019-08-19 09:56:59 -0400 |
commit | 4b7c74179c8928d971d370e1137d202f891a4cf5 (patch) | |
tree | a530a41e4035c277b130ecd033784ac6a7e3f920 /manual | |
parent | Do not print backtraces on fatal glibc errors (diff) | |
download | glibc-4b7c74179c8928d971d370e1137d202f891a4cf5.tar.gz glibc-4b7c74179c8928d971d370e1137d202f891a4cf5.tar.bz2 glibc-4b7c74179c8928d971d370e1137d202f891a4cf5.zip |
nss: Make nsswitch.conf more distribution friendly.
The current default nsswitch.conf file provided by glibc is not very
distribution friendly. The file contains some minimal directives that no
real distribution uses. This update aims to provide a rich set of
comments which are useful for all distributions, and a broader set of
service defines which should work for all distributions.
Tested defaults on x86_64 and they work. The nsswitch.conf file more
closely matches what we have in Fedora now, and I'll adjust Fedora to
use this version with minor changes to enable Fedora-specific service
providers.
v2
- Add missing databases to manual.
- Add link to manual from default nsswitch.conf.
- Sort nsswitch.conf according to most used database first.
v3
- Only mention implemented services in 'NSS Basics.'
- Mention 'automount' in 'Services in the NSS configuration.'
- Sort services in alphabetical order.
v4
- Project name is 'Samba'.
v5
- Fix typo in manual/nss.texi.
v6
- Fix another typo in manual/nss.texi. Ran spell checker this time.
Diffstat (limited to 'manual')
-rw-r--r-- | manual/nss.texi | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/manual/nss.texi b/manual/nss.texi index 164ae33246..821469a78a 100644 --- a/manual/nss.texi +++ b/manual/nss.texi @@ -56,13 +56,17 @@ functions to access the databases. @noindent The databases available in the NSS are +@cindex aliases @cindex ethers @cindex group +@cindex gshadow @cindex hosts +@cindex initgroups @cindex netgroup @cindex networks -@cindex protocols @cindex passwd +@cindex protocols +@cindex publickey @cindex rpc @cindex services @cindex shadow @@ -75,16 +79,22 @@ Ethernet numbers, @comment @pxref{Ethernet Numbers}. @item group Groups of users, @pxref{Group Database}. +@item gshadow +Group passphrase hashes and related information. @item hosts Host names and numbers, @pxref{Host Names}. +@item initgroups +Supplementary group access list. @item netgroup Network wide list of host and users, @pxref{Netgroup Database}. @item networks Network names and numbers, @pxref{Networks Database}. -@item protocols -Network protocols, @pxref{Protocols Database}. @item passwd User identities, @pxref{User Database}. +@item protocols +Network protocols, @pxref{Protocols Database}. +@item publickey +Public keys for Secure RPC. @item rpc Remote procedure call names and numbers. @comment @pxref{RPC Database}. @@ -96,8 +106,8 @@ User passphrase hashes and related information. @end table @noindent -There will be some more added later (@code{automount}, @code{bootparams}, -@code{netmasks}, and @code{publickey}). +@c We currently don't implement automount, netmasks, or bootparams. +More databases may be added later. @node NSS Configuration File, NSS Module Internals, NSS Basics, Name Service Switch @section The NSS Configuration File @@ -159,6 +169,10 @@ these files since they should be placed in a directory where they are found automatically. Only the names of all available services are important. +Lastly, some system software may make use of the NSS configuration file +to store their own configuration for similar purposes. Examples of this +include the @code{automount} service which is used by @code{autofs}. + @node Actions in the NSS configuration, Notes on NSS Configuration File, Services in the NSS configuration, NSS Configuration File @subsection Actions in the NSS configuration |