~xnox/ubuntu/quantal/shadow/clear-locks

« back to all changes in this revision

Viewing changes to debian/patches/504_undef_USE_PAM.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2009-05-05 09:45:21 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090505094521-wpk2wn3q7957tlah
Tags: 1:4.1.3.1-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Ubuntu specific:
    + debian/login.defs: use SHA512 by default for password crypt routine.
  - debian/patches/stdout-encrypted-password.patch: chpasswd can report
    password hashes on stdout (debian bug 505640).
  - debian/login.pam: Enable SELinux support (debian bug 527106).
  - debian/securetty.linux: support Freescale MX-series (debian bug 527095).
* Add debian/patches/300_lastlog_failure: fixed upstream (debian bug 524873).
* Drop debian/patches/593_omit_lastchange_field_if_clock_is_misset: fixed
  upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Goal: Do not use PAM for chage, chpasswd, groupadd, groupdel, groupmod
2
 
      newusers, useradd, userdel, usermod, chgpasswd (keep them low-level)
3
 
Fixes: #283961, #162181, #162199, #162228, #369806.
4
 
 
5
 
Index: shadow-4.1.0/src/chage.c
6
 
===================================================================
7
 
--- shadow-4.1.0.orig/src/chage.c
8
 
+++ shadow-4.1.0/src/chage.c
9
 
@@ -28,6 +28,7 @@
10
 
  */
11
 
 
12
 
 #include <config.h>
13
 
+#undef USE_PAM
14
 
 
15
 
 #ident "$Id: chage.c 1460 2007-11-24 22:41:24Z nekral-guest $"
16
 
 
17
 
Index: shadow-4.1.0/src/chpasswd.c
18
 
===================================================================
19
 
--- shadow-4.1.0.orig/src/chpasswd.c
20
 
+++ shadow-4.1.0/src/chpasswd.c
21
 
@@ -28,6 +28,7 @@
22
 
  */
23
 
 
24
 
 #include <config.h>
25
 
+#undef USE_PAM
26
 
 
27
 
 #ident "$Id: chpasswd.c 1460 2007-11-24 22:41:24Z nekral-guest $"
28
 
 
29
 
Index: shadow-4.1.0/src/groupadd.c
30
 
===================================================================
31
 
--- shadow-4.1.0.orig/src/groupadd.c
32
 
+++ shadow-4.1.0/src/groupadd.c
33
 
@@ -28,6 +28,7 @@
34
 
  */
35
 
 
36
 
 #include <config.h>
37
 
+#undef USE_PAM
38
 
 
39
 
 #ident "$Id: groupadd.c 1460 2007-11-24 22:41:24Z nekral-guest $"
40
 
 
41
 
Index: shadow-4.1.0/src/groupdel.c
42
 
===================================================================
43
 
--- shadow-4.1.0.orig/src/groupdel.c
44
 
+++ shadow-4.1.0/src/groupdel.c
45
 
@@ -28,6 +28,7 @@
46
 
  */
47
 
 
48
 
 #include <config.h>
49
 
+#undef USE_PAM
50
 
 
51
 
 #ident "$Id: groupdel.c 1397 2007-11-18 23:15:26Z nekral-guest $"
52
 
 
53
 
Index: shadow-4.1.0/src/groupmod.c
54
 
===================================================================
55
 
--- shadow-4.1.0.orig/src/groupmod.c
56
 
+++ shadow-4.1.0/src/groupmod.c
57
 
@@ -28,6 +28,7 @@
58
 
  */
59
 
 
60
 
 #include <config.h>
61
 
+#undef USE_PAM
62
 
 
63
 
 #ident "$Id: groupmod.c 1460 2007-11-24 22:41:24Z nekral-guest $"
64
 
 
65
 
Index: shadow-4.1.0/src/newusers.c
66
 
===================================================================
67
 
--- shadow-4.1.0.orig/src/newusers.c
68
 
+++ shadow-4.1.0/src/newusers.c
69
 
@@ -34,6 +34,7 @@
70
 
  */
71
 
 
72
 
 #include <config.h>
73
 
+#undef USE_PAM
74
 
 
75
 
 #ident "$Id: newusers.c 1460 2007-11-24 22:41:24Z nekral-guest $"
76
 
 
77
 
Index: shadow-4.1.0/src/useradd.c
78
 
===================================================================
79
 
--- shadow-4.1.0.orig/src/useradd.c
80
 
+++ shadow-4.1.0/src/useradd.c
81
 
@@ -28,6 +28,7 @@
82
 
  */
83
 
 
84
 
 #include <config.h>
85
 
+#undef USE_PAM
86
 
 
87
 
 #ident "$Id: useradd.c 1460 2007-11-24 22:41:24Z nekral-guest $"
88
 
 
89
 
Index: shadow-4.1.0/src/userdel.c
90
 
===================================================================
91
 
--- shadow-4.1.0.orig/src/userdel.c
92
 
+++ shadow-4.1.0/src/userdel.c
93
 
@@ -28,6 +28,7 @@
94
 
  */
95
 
 
96
 
 #include <config.h>
97
 
+#undef USE_PAM
98
 
 
99
 
 #ident "$Id: userdel.c 1460 2007-11-24 22:41:24Z nekral-guest $"
100
 
 
101
 
Index: shadow-4.1.0/src/usermod.c
102
 
===================================================================
103
 
--- shadow-4.1.0.orig/src/usermod.c
104
 
+++ shadow-4.1.0/src/usermod.c
105
 
@@ -28,6 +28,7 @@
106
 
  */
107
 
 
108
 
 #include <config.h>
109
 
+#undef USE_PAM
110
 
 
111
 
 #ident "$Id: usermod.c 1460 2007-11-24 22:41:24Z nekral-guest $"
112
 
 
113
 
Index: shadow-4.1.0/src/chgpasswd.c
114
 
===================================================================
115
 
--- shadow-4.1.0.orig/src/chgpasswd.c
116
 
+++ shadow-4.1.0/src/chgpasswd.c
117
 
@@ -28,6 +28,7 @@
118
 
  */
119
 
 
120
 
 #include <config.h>
121
 
+#undef USE_PAM
122
 
 
123
 
 #ident "$Id: chgpasswd.c 1485 2007-12-09 22:54:53Z nekral-guest $"
124