1 |
diff -ruN pwauth-2.3.10.old/config.h pwauth-2.3.10/config.h |
2 |
--- pwauth-2.3.10.old/config.h 2013-06-04 20:12:37.000000000 -0700 |
3 |
+++ pwauth-2.3.10/config.h 2013-06-04 20:25:06.000000000 -0700 |
4 |
@@ -213,8 +213,8 @@ |
5 |
* uid numbers. |
6 |
*/ |
7 |
|
8 |
-#define UNIX_LASTLOG /**/ |
9 |
-#define HAVE_LASTLOG_H /**/ |
10 |
+/* #define UNIX_LASTLOG /**/ |
11 |
+/* #define HAVE_LASTLOG_H /**/ |
12 |
|
13 |
|
14 |
/* If NOLOGIN_FILE is defined to the full path name of a file, then the |
15 |
@@ -227,8 +227,8 @@ |
16 |
* right with PAM. |
17 |
*/ |
18 |
|
19 |
-/* #define NOLOGIN_FILE "/etc/nologin" /**/ |
20 |
-/* #define MIN_NOLOGIN_UID 1 /**/ |
21 |
+#define NOLOGIN_FILE "/etc/nologin" /**/ |
22 |
+#define MIN_NOLOGIN_UID 1 /**/ |
23 |
|
24 |
|
25 |
/* Defining CHECK_LOGIN_EXPIRATION and CHECK_PASSWORD_EXPIRATION causes |
26 |
@@ -278,7 +278,7 @@ |
27 |
* to change the uid list. |
28 |
*/ |
29 |
|
30 |
-/* #define SERVER_UIDS 30 /* user "wwwrun" on the author's system */ |
31 |
+#define SERVER_UIDS 100,101,102 /* user "www" and "admin" (100 allows for upgraded systems) */ |
32 |
|
33 |
|
34 |
/* If MIN_UNIX_UID is defined to an integer, logins with uid numbers less than |
35 |
@@ -290,7 +290,7 @@ |
36 |
* given value will be accepted). |
37 |
*/ |
38 |
|
39 |
-#define MIN_UNIX_UID 500 /**/ |
40 |
+#define MIN_UNIX_UID 100 /**/ |
41 |
|
42 |
|
43 |
/* If IGNORE_CASE is defined, the login given is checked in two different |
44 |
@@ -319,7 +319,7 @@ |
45 |
* SLEEP_LOCK. SLEEP_TIME defaults to 2 seconds if not defined. |
46 |
*/ |
47 |
|
48 |
-#define SLEEP_LOCK "/var/run/pwauth.lock" |
49 |
+/* #define SLEEP_LOCK "/var/run/pwauth.lock" /**/ |
50 |
|
51 |
|
52 |
/* If ENV_METHOD is defined, pwauth expects mod_auth_external to be configured |