freeradius/freeradius-0.9.0-pam-multilib.patch

22 lines
1021 B
Diff
Raw Normal View History

2004-09-09 04:51:36 +00:00
Remove the directory component from all paths. This lets libpam search its
default directory for modules, which is needed on multilib systems because
a 64-bit binary can't use the 32-bit modules which are stored in /lib/security.
Use include system-auth to make password-checking mechanisms configurable by authconfig.
2004-09-09 04:51:36 +00:00
--- freeradius-0.9.0/redhat/radiusd-pam 2003-09-22 10:07:03.000000000 -0400
+++ freeradius-0.9.0/redhat/radiusd-pam 2003-09-22 10:07:13.000000000 -0400
@@ -1,7 +1,6 @@
#%PAM-1.0
-auth required /lib/security/pam_unix_auth.so shadow nullok
-auth required /lib/security/pam_nologin.so
-account required /lib/security/pam_unix_acct.so
-password required /lib/security/pam_cracklib.so
-password required /lib/security/pam_unix_password.so shadow nullok use_authtok
-session required /lib/security/pam_unix_session.so
+auth include system-auth
+account required pam_nologin.so
+account include system-auth
+password include system-auth
+session include system-auth