OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.4 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../shadow/no-wheel-su.patch
  5. # Copyright (C) 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  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
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. The now, enabled by default, wheel group is annoying for most users,
  17. we comment it out, experts can re-enable it.
  18. - Rene Rebe <rene@exactcode.de>
  19. diff -urN shadow-4.0.14/etc/pam.d/su shadow-4.0.14-fixed/etc/pam.d/su
  20. --- shadow-4.0.14/etc/pam.d/su 2006-01-02 21:40:28.000000000 +0100
  21. +++ shadow-4.0.14-fixed/etc/pam.d/su 2006-06-06 18:03:00.000000000 +0200
  22. @@ -3,7 +3,7 @@
  23. # Uncomment the following line to implicitly trust users in the "wheel" group.
  24. #auth sufficient pam_wheel.so trust use_uid
  25. # Uncomment the following line to require a user to be in the "wheel" group.
  26. -auth required pam_wheel.so use_uid
  27. +#auth required pam_wheel.so use_uid
  28. auth include system-auth
  29. account include system-auth
  30. password include system-auth