Mention sudoers in nsswitch.conf(5)
It turns out that sudo drops things into nsswitch.conf, too. It has been suggested that we should mention this in the manual page.
Thanks,
Florian
man5/nsswitch.conf.5 +9 -1
@@ -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:
A message that is not in the archive (sent off-list or not yet received): 885caec0-dded-e22f-8b55-08f2868ad059-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
Quoted 2 lines · Florian Weimer
It turns out that sudo drops things into nsswitch.conf, too. It has been suggested that we should mention this in the manual page.
Thanks, Florian. Patch applied.
Cheers,
Michael
Signature · 7 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html