Advertisement
mrechte

Patch 1 for pwauth

Mar 1st, 2016
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. diff -Nru pwauth-2.3.11.orig/config.h pwauth-2.3.11/config.h
  2. --- pwauth-2.3.11.orig/config.h 2013-10-04 15:59:08.000000000 +0200
  3. +++ pwauth-2.3.11/config.h 2015-02-13 10:32:52.162650590 +0100
  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. @@ -279,7 +279,7 @@
  23. * to change the uid list.
  24. */
  25.  
  26. -#define SERVER_UIDS 30 /* user "wwwrun" on the author's system */
  27. +#define SERVER_UIDS 33 /* user "wwwrun" on the author's system */
  28.  
  29.  
  30. /* If MIN_UNIX_UID is defined to an integer, logins with uid numbers less than
  31. @@ -291,7 +291,7 @@
  32. * given value will be accepted).
  33. */
  34.  
  35. -#define MIN_UNIX_UID 500 /**/
  36. +#define MIN_UNIX_UID 1000 /**/
  37.  
  38.  
  39. /* If IGNORE_CASE is defined, the login given is checked in two different
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement