rami.info



Using Radius For System Authentication With PAM

Posted in TechNotes by Rami on the October 2nd, 2005

Download pam_radius ftp://ftp.freeradius.org/pub/radius/ and run the following:
tar -xvf pam_radius*.tar
cd pam_radius*
make
cp pam_radius_auth.so /lib/security

Edit /etc/raddb/server and add the following:
127.0.0.1 secret 1

Under Gentoo edit /etc/pam.d/system-auth and add the following line:

auth sufficient pam_radius_auth.so skip_passwd

After:

auth sufficient pam_unix.so likeauth nullok

Make sure you add the users locally on the machine as well as the radius is just used for the password authentication.

Enjoy.

2 Responses to 'Using Radius For System Authentication With PAM'

Subscribe to comments with RSS or TrackBack to 'Using Radius For System Authentication With PAM'.

  1. K said,

    on October 12th, 2005 at 10:18 pm

    I have a special request for the technotes section. How do you make Asterisk work in Kuwait? Any special hardware?

  2. Rami said,

    on November 8th, 2005 at 1:18 pm

    it doesn’t really have anything special unless you want caller id support. Will probably make a writeup later on.

Leave a Reply