1 |
slords |
1.1 |
diff -ruN pwauth-2.3.10.old/config.h pwauth-2.3.10/config.h |
2 |
|
|
--- pwauth-2.3.10.old/config.h 2011-10-05 07:01:12.000000000 -0600 |
3 |
|
|
+++ pwauth-2.3.10/config.h 2013-03-06 15:08:18.852911338 -0700 |
4 |
|
|
@@ -123,7 +123,7 @@ |
5 |
|
|
|
6 |
|
|
/* #define SHADOW_NONE /**/ |
7 |
|
|
/* #define SHADOW_BSD /* FreeBSD, NetBSD, OpenBSD, BSDI, OS X */ |
8 |
|
|
-#define SHADOW_SUN /* Linux, Solaris, IRIX */ |
9 |
|
|
+/* #define SHADOW_SUN /* Linux, Solaris, IRIX */ |
10 |
|
|
/* #define SHADOW_JFH /**/ |
11 |
|
|
/* #define SHADOW_MDW /**/ |
12 |
|
|
/* #define SHADOW_AIX /* AIX (see also AUTHENTICATE_AIX) */ |
13 |
|
|
@@ -131,7 +131,7 @@ |
14 |
|
|
|
15 |
|
|
/* HIGH-LEVEL OPTIONS */ |
16 |
|
|
|
17 |
|
|
-/* #define PAM /* Linux PAM or OpenPAM */ |
18 |
|
|
+#define PAM /* Linux PAM or OpenPAM */ |
19 |
|
|
/* #define PAM_OLD_OS_X /* PAM on OS X version 10.5 or older */ |
20 |
|
|
/* #define PAM_SOLARIS /* PAM on Solaris other than 2.6 */ |
21 |
|
|
/* #define PAM_SOLARIS_26 /* PAM on Solaris 2.6 */ |
22 |
|
|
@@ -213,8 +213,8 @@ |
23 |
|
|
* uid numbers. |
24 |
|
|
*/ |
25 |
|
|
|
26 |
|
|
-#define UNIX_LASTLOG /**/ |
27 |
|
|
-#define HAVE_LASTLOG_H /**/ |
28 |
|
|
+/* #define UNIX_LASTLOG /**/ |
29 |
|
|
+/* #define HAVE_LASTLOG_H /**/ |
30 |
|
|
|
31 |
|
|
|
32 |
|
|
/* If NOLOGIN_FILE is defined to the full path name of a file, then the |
33 |
|
|
@@ -278,7 +278,7 @@ |
34 |
|
|
* to change the uid list. |
35 |
|
|
*/ |
36 |
|
|
|
37 |
|
|
-#define SERVER_UIDS 30 /* user "wwwrun" on the author's system */ |
38 |
|
|
+#define SERVER_UIDS 100,101,102 /* user "www" and "admin" (100 allows for upgraded systems) */ |
39 |
|
|
|
40 |
|
|
|
41 |
|
|
/* If MIN_UNIX_UID is defined to an integer, logins with uid numbers less than |
42 |
|
|
@@ -290,7 +290,7 @@ |
43 |
|
|
* given value will be accepted). |
44 |
|
|
*/ |
45 |
|
|
|
46 |
|
|
-#define MIN_UNIX_UID 500 /**/ |
47 |
|
|
+#define MIN_UNIX_UID 100 /**/ |
48 |
|
|
|
49 |
|
|
|
50 |
|
|
/* If IGNORE_CASE is defined, the login given is checked in two different |
51 |
|
|
@@ -319,7 +319,7 @@ |
52 |
|
|
* SLEEP_LOCK. SLEEP_TIME defaults to 2 seconds if not defined. |
53 |
|
|
*/ |
54 |
|
|
|
55 |
|
|
-#define SLEEP_LOCK "/var/run/pwauth.lock" |
56 |
|
|
+/* #define SLEEP_LOCK "/var/run/pwauth.lock" /**/ |
57 |
|
|
|
58 |
|
|
|
59 |
|
|
/* If ENV_METHOD is defined, pwauth expects mod_auth_external to be configured |