1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../shadow/no-wheel-su.patch
5 # Copyright (C) 2006 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 The now, enabled by default, wheel group is annoying for most users,
18 we comment it out, experts can re-enable it.
20 - Rene Rebe <rene@exactcode.de>
22 diff -urN shadow-4.0.14/etc/pam.d/su shadow-4.0.14-fixed/etc/pam.d/su
23 --- shadow-4.0.14/etc/pam.d/su 2006-01-02 21:40:28.000000000 +0100
24 +++ shadow-4.0.14-fixed/etc/pam.d/su 2006-06-06 18:03:00.000000000 +0200
26 # Uncomment the following line to implicitly trust users in the "wheel" group.
27 #auth sufficient pam_wheel.so trust use_uid
28 # Uncomment the following line to require a user to be in the "wheel" group.
29 -auth required pam_wheel.so use_uid
30 +#auth required pam_wheel.so use_uid
31 auth include system-auth
32 account include system-auth
33 password include system-auth