So instead of following the manual installation of pam_radius I installed EPEL and then got to install pam_radius using package manager : yum --enablerepo=epel info pam_radiusLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfile * base: mirror.wbs.co.za * epel: epel.scopesky.iq * extras: mirror.wbs.co.za * updates: mirror.wbs.co.zaInstalled PackagesName        : pam_radiusArch        : x86_64Version     : 1.4.0Release     : 2.el6Size        : 55 kRepo        : installedFrom repo   : epelSummary     : PAM Module for RADIUS AuthenticationURL         : http://www.freeradius.org/pam_radius_auth/License     : GPLv2+Description : pam_radius is a PAM module which allows user authentication using            : a radius server.Available PackagesName        : pam_radiusArch        : i686Version     : 1.4.0Release     : 2.el6Size        : 27 kRepo        : epelSummary     : PAM Module for RADIUS AuthenticationURL         : http://www.freeradius.org/pam_radius_auth/License     : GPLv2+Description : pam_radius is a PAM module which allows user authentication using            : a radius server.I then looked for the file pam_radius_auth.so but I cant find it. I went to http://www.freeradius.org/pam_radius_auth/ and in the INSTALL folder it says:  make.  Copy 'pam_radius_auth.so' to /lib/security/pam_radius_auth.so  In /etc/pam.conf, add the line:login   auth       sufficient   /lib/security/pam_radius_auth.so  AFTERlogin   auth       required     /lib/security/pam_securetty.so  and BEFORElogin   auth       required     /lib/security/pam_unix_auth.so  i.e.login   auth       required     /lib/security/pam_securetty.sologin   auth       sufficient   /lib/security/pam_radius_auth.sologin   auth       required     /lib/security/pam_unix_auth.so Now I am stuck, where do I go and do make....Isn't the package manager supposed to all of the work?Also there is a file pam_radius.conf is it there that I do the necessary configurations and thats all ??How do I configure the pam client??
Installing pam_radius through package manager
linux;centos;pam;radius
I think that those instructions are out of date, and mentioned an older PAM configuration file format. The two configuration lines in question should look like this:auth required pam_securetty.soauth required pam_unix.soi.e. pam_unix.so instead of pam_unix_auth.so, and no full paths to the modules (just the actual module filename).UpdateAs an aside, it seems that the pam_unix module used to be split into different modules for each purpose:$ ls -l pam_unix*lrwxrwxrwx 1 root root    11 Jun 7  2010 pam_unix_acct.so -> pam_unix.solrwxrwxrwx 1 root root    11 Jun 7  2010 pam_unix_auth.so -> pam_unix.solrwxrwxrwx 1 root root    11 Jun 7  2010 pam_unix_passwd.so -> pam_unix.solrwxrwxrwx 1 root root    11 Jun 7  2010 pam_unix_session.so -> pam_unix.so-rwxr-xr-x 1 root root 48824 Jun 7  2010 pam_unix.so