File: 0003-getpwnam.3.patch

package info (click to toggle)
manpages 6.15-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 20,184 kB
  • sloc: sh: 575; python: 222; perl: 190; makefile: 29; lisp: 22
file content (37 lines) | stat: -rw-r--r-- 1,023 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
From: "Dr. Tobias Quathamer" <toddy@debian.org>
Date: Sat, 6 Feb 2016 01:20:55 +0100
Subject: getpwnam.3

---
 man/man3/getpwnam.3 | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/man/man3/getpwnam.3 b/man/man3/getpwnam.3
index 3ad26d0..ba18988 100644
--- a/man/man3/getpwnam.3
+++ b/man/man3/getpwnam.3
@@ -188,10 +188,18 @@ structure.
 .TP
 .B ERANGE
 Insufficient buffer space supplied.
+.SH NOTE
+The user password database mostly refers to \fI/etc/passwd\fP.
+However, with recent systems it also refers to network wide databases
+using NIS, LDAP and other local files as configured in
+\fI/etc/nsswitch.conf\fP.
 .SH FILES
 .TP
 .I /etc/passwd
 local password database file
+.TP
+.I /etc/nsswitch.conf
+System Databases and Name Service Switch configuration file
 .SH ATTRIBUTES
 For an explanation of the terms used in this section, see
 .BR attributes (7).
@@ -341,4 +349,5 @@ main(int argc, char *argv[])
 .BR getspnam (3),
 .BR putpwent (3),
 .BR setpwent (3),
+.BR nsswitch.conf (5),
 .BR passwd (5)