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>
This commit is contained in:
Florian Weimer 2017-04-06 15:10:12 +02:00 committed by Michael Kerrisk
parent 61428042e2
commit 6c1f939f08
1 changed files with 9 additions and 1 deletions

View File

@ -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: