summaryrefslogtreecommitdiffstats
path: root/debian/patches/0002-getpwent.3.patch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/patches/0002-getpwent.3.patch51
1 files changed, 51 insertions, 0 deletions
diff --git a/debian/patches/0002-getpwent.3.patch b/debian/patches/0002-getpwent.3.patch
new file mode 100644
index 0000000..50c3c83
--- /dev/null
+++ b/debian/patches/0002-getpwent.3.patch
@@ -0,0 +1,51 @@
+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 c46af20..839c614 100644
+--- 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-07-20 "Linux man-pages 6.05.01"
+ .SH NAME
+@@ -79,6 +80,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).
+@@ -188,4 +204,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)