summaryrefslogtreecommitdiffstats
path: root/debian/patches/0002-getpwent.3.patch
blob: 17c205c01280897646b415494a8ee8fa7a4fc984 (plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
From: "Dr. Tobias Quathamer" <toddy@debian.org>
Date: Sat, 6 Feb 2016 01:20:19 +0100
Subject: getpwent.3

---
 man3/getpwent.3 | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

--- a/man3/getpwent.3
+++ b/man3/getpwent.3
@@ -9,7 +9,8 @@
 .\"     386BSD man pages
 .\"
 .\" Modified Sat Jul 24 19:22:14 1993 by Rik Faith (faith@cs.unc.edu)
-.\" Modified Mon May 27 21:37:47 1996 by Martin Schulze (joey@linux.de)
+.\" Modified Mon May 27 21:37:47 1996 by Martin Schulze <joey@linux.de>
+.\" Modified Thu Dec 13 21:10:55 2001 by Martin Schulze <joey@infodrom.org>
 .\"
 .TH getpwent 3 2023-10-31 "Linux man-pages 6.7"
 .SH NAME
@@ -79,6 +80,21 @@
 };
 .EE
 .in
+.\" Next paragraph rejected upstream
+.PP
+When
+.BR shadow (5)
+passwords are enabled (which is default on many GNU/Linux
+installations) the content of
+.I pw_passwd
+is usually not very useful.  In such a case most passwords are stored
+in a separate file.
+.PP
+The variable
+.I pw_shell
+may be empty, in which case the system will execute the default shell
+.RB ( /bin/sh )
+for the user.
 .P
 For more information about the fields of this structure, see
 .BR passwd (5).
@@ -188,4 +204,6 @@
 .BR getpwnam (3),
 .BR getpwuid (3),
 .BR putpwent (3),
+.\" Next line rejected upstream
+.BR shadow (5),
 .BR passwd (5)