]> git.pld-linux.org Git - packages/coreutils.git/blame - coreutils-pam.patch
- updated to 6.7 (cp -p/mv fixes, somehow related to security)
[packages/coreutils.git] / coreutils-pam.patch
CommitLineData
c2be74f0
JB
1--- coreutils-6.3/configure.ac.orig 2006-09-30 09:37:48.000000000 +0200
2+++ coreutils-6.3/configure.ac 2006-10-10 21:51:42.565887000 +0200
3@@ -29,6 +29,13 @@
4 AB_INIT()
5 AM_INIT_AUTOMAKE([1.9.6 gnits dist-bzip2])
f774849c 6
7+dnl Give the chance to enable PAM
8+AC_ARG_ENABLE(pam, dnl
9+[ --enable-pam Enable use of the PAM libraries],
10+AC_DEFINE(USE_PAM,,[Use PAM?])
11+LIB_PAM="-ldl -lpam -lpam_misc"
12+)
13+
c2be74f0
JB
14 AC_PROG_CC_STDC
15 AM_PROG_CC_C_O
16 AC_PROG_CPP
17@@ -249,6 +256,13 @@
18 AM_GNU_GETTEXT([external], [need-formatstring-macros])
19 AM_GNU_GETTEXT_VERSION([0.15])
f774849c 20
21+# just in case we want PAM
22+AC_SUBST(LIB_PAM)
40ce7301
JB
23+# with PAM su doesn't need libcrypt
24+if test -n "$LIB_PAM" ; then
25+ LIB_CRYPT=
26+fi
f774849c 27+
28 AC_CONFIG_FILES(
29 Makefile
30 doc/Makefile
700628e7
JB
31diff -Nur coreutils-5.2.1.orig/doc/coreutils.texi coreutils-5.2.1/doc/coreutils.texi
32--- coreutils-5.2.1.orig/doc/coreutils.texi Thu Mar 18 16:58:54 2004
33+++ coreutils-5.2.1/doc/coreutils.texi Thu Mar 18 17:08:08 2004
34@@ -11892,32 +11892,6 @@
35 the exit status of the subshell otherwise
36 @end display
f774849c 37
38-@cindex wheel group, not supported
39-@cindex group wheel, not supported
40-@cindex fascism
700628e7 41-@subsection Why GNU @command{su} does not support the @samp{wheel} group
f774849c 42-
43-(This section is by Richard Stallman.)
44-
45-@cindex Twenex
46-@cindex MIT AI lab
47-Sometimes a few of the users try to hold total power over all the
48-rest. For example, in 1984, a few users at the MIT AI lab decided to
49-seize power by changing the operator password on the Twenex system and
50-keeping it secret from everyone else. (I was able to thwart this coup
51-and give power back to the users by patching the kernel, but I
52-wouldn't know how to do that in Unix.)
53-
54-However, occasionally the rulers do tell someone. Under the usual
55-@command{su} mechanism, once someone learns the root password who
56-sympathizes with the ordinary users, he or she can tell the rest. The
57-``wheel group'' feature would make this impossible, and thus cement the
58-power of the rulers.
59-
60-I'm on the side of the masses, not that of the rulers. If you are
61-used to supporting the bosses and sysadmins in whatever they do, you
62-might find this idea strange at first.
63-
64
700628e7
JB
65 @node Delaying
66 @chapter Delaying
67diff -Nur coreutils-5.2.1.orig/man/es/su.1 coreutils-5.2.1/man/es/su.1
68--- coreutils-5.2.1.orig/man/es/su.1 Mon Apr 12 14:26:19 1999
69+++ coreutils-5.2.1/man/es/su.1 Thu Mar 18 17:05:55 2004
70@@ -47,13 +47,6 @@
71