How do I use PAM with FreeRADIUS?
You’ll need the redhat/radiusd.pam file from the distribution. It should go into a new file, /etc/pam.d/radiusd. If you have 100’s to 1000’s of users in /etc/passwd, you’ll want to replace the pam_pwdb.so entries with pam_unix_auth.so, pam_unix_acct.so etc. The pam_pwdb module is INCREDIBLY SLOW for authenticating users from a large /etc/passwd file. Bruno Lopes F.