aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-04-06 15:10:12 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2017-04-10 13:47:50 +0200
commit6c1f939f086523c67a17e24c80c70db62b47b34d (patch)
treed47285ac7eff984e5f497272625849544dc74a13
parent61428042e203bdf708ca45306be3db11f1c678ae (diff)
downloadman-pages-6c1f939f086523c67a17e24c80c70db62b47b34d.tar.gz
nsswitch.conf.5: Mention sudoers
It turns out that sudo drops things into nsswitch.conf, too. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man5/nsswitch.conf.510
1 files changed, 9 insertions, 1 deletions
diff --git a/man5/nsswitch.conf.5 b/man5/nsswitch.conf.5
index 1e0ec3ce9b..7a5b744ad9 100644
--- a/man5/nsswitch.conf.5
+++ b/man5/nsswitch.conf.5
@@ -28,7 +28,7 @@ nsswitch.conf \- Name Service Switch configuration file
.SH DESCRIPTION
The Name Service Switch (NSS) configuration file,
.IR /etc/nsswitch.conf ,
-is used by the GNU C Library to determine
+is used by the GNU C Library and certain other applications to determine
the sources from which to obtain name-service information in
a range of categories,
and in what order.
@@ -102,6 +102,14 @@ Shadow user passwords, used by
.BR getspnam (3)
and related functions.
.LP
+The GNU C Library ignores databases with unknown names. Some
+applications use this to implement special handling for their own
+databases. For example,
+.BR sudo (8)
+consults the
+.B sudoers
+database.
+.LP
Here is an example
.I /etc/nsswitch.conf
file: