aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pwauth/10-config.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/pwauth/10-config.patch')
-rw-r--r--testing/pwauth/10-config.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/pwauth/10-config.patch b/testing/pwauth/10-config.patch
new file mode 100644
index 0000000000..a56d1bf6d4
--- /dev/null
+++ b/testing/pwauth/10-config.patch
@@ -0,0 +1,42 @@
+--- pwauth-2.3.11.orig/config.h
++++ pwauth-2.3.11/config.h
+@@ -213,8 +213,8 @@
+ * uid numbers.
+ */
+
+-#define UNIX_LASTLOG /**/
+-#define HAVE_LASTLOG_H /**/
++/* #define UNIX_LASTLOG /**/
++/* #define HAVE_LASTLOG_H /**/
+
+
+ /* If NOLOGIN_FILE is defined to the full path name of a file, then the
+@@ -227,8 +227,8 @@
+ * right with PAM.
+ */
+
+-#define NOLOGIN_FILE "/etc/nologin" /**/
+-#define MIN_NOLOGIN_UID 1 /**/
++/* #define NOLOGIN_FILE "/etc/nologin" /**/
++/* #define MIN_NOLOGIN_UID 1 /**/
+
+
+ /* Defining CHECK_LOGIN_EXPIRATION and CHECK_PASSWORD_EXPIRATION causes
+@@ -279,7 +279,7 @@
+ * to change the uid list.
+ */
+
+-#define SERVER_UIDS 30 /* user "wwwrun" on the author's system */
++/* #define SERVER_UIDS 30 /* user "wwwrun" on the author's system */
+
+
+ /* If MIN_UNIX_UID is defined to an integer, logins with uid numbers less than
+@@ -320,7 +320,7 @@
+ * SLEEP_LOCK. SLEEP_TIME defaults to 2 seconds if not defined.
+ */
+
+-#define SLEEP_LOCK "/var/run/pwauth.lock"
++/* #define SLEEP_LOCK "/var/run/pwauth.lock" */
+
+
+ /* If ENV_METHOD is defined, pwauth expects mod_auth_external to be configured