File: 0002-getpwent.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 (41 lines) | stat: -rw-r--r-- 1,025 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
38
39
40
41
From: "Dr. Tobias Quathamer" <toddy@debian.org>
Date: Sat, 6 Feb 2016 01:20:19 +0100
Subject: getpwent.3

---
 man/man3/getpwent.3 | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/man/man3/getpwent.3 b/man/man3/getpwent.3
index d28ef0c..0856720 100644
--- a/man/man3/getpwent.3
+++ b/man/man3/getpwent.3
@@ -75,6 +75,21 @@ struct passwd {
 };
 .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).
@@ -184,4 +199,6 @@ POSIX.1-2001, SVr4, 4.3BSD.
 .BR getpwnam (3),
 .BR getpwuid (3),
 .BR putpwent (3),
+.\" Next line rejected upstream
+.BR shadow (5),
 .BR passwd (5)