File: 0002-getpwent.3.patch

package info (click to toggle)
manpages 5.10-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 17,900 kB
  • sloc: sh: 583; python: 166; makefile: 61; lisp: 22
file content (53 lines) | stat: -rw-r--r-- 1,552 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
42
43
44
45
46
47
48
49
50
51
52
53
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(-)

diff --git a/man3/getpwent.3 b/man3/getpwent.3
index 0e3ff63..1d188aa 100644
--- a/man3/getpwent.3
+++ b/man3/getpwent.3
@@ -28,7 +28,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  2017-09-15 "GNU" "Linux Programmer's Manual"
 .SH NAME
@@ -99,6 +100,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.
 .PP
 For more information about the fields of this structure, see
 .BR passwd (5).
@@ -197,6 +213,8 @@ field is not specified in POSIX, but is present on most implementations.
 .BR getpwnam (3),
 .BR getpwuid (3),
 .BR putpwent (3),
+.\" Next line rejected upstream
+.BR shadow (5),
 .BR passwd (5)
 .SH COLOPHON
 This page is part of release 5.10 of the Linux