8.10. Implementing PAM Authentication
RHN Satellite supports network-based authentication systems such as LDAP and Kerberos, using Pluggable Authentication Modules (PAM). PAM is a suite of libraries that helps system administrators integrate the Satellite with a centralized authentication mechanism, thus eliminating the need for remembering multiple passwords.
Note
To ensure that PAM authentication functions properly, install the
pam-devel
package.
Configuring RHN Satellite to use PAM
- Create a PAM service file in the
/etc/pam.d/
directory:touch /etc/pam.d/rhn-satellite
touch /etc/pam.d/rhn-satellite
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Edit the file with the following information:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Instruct the satellite to use the PAM service file by adding the following line to the
/etc/rhn/rhn.conf
file:pam_auth_service = rhn-satellite
pam_auth_service = rhn-satellite
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Restart the service to pick up the changes:
rhn-satellite restart
rhn-satellite restart
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - To enable a user to authenticate against PAM, select the checkbox labeled Pluggable Authentication Modules (PAM). It is positioned below the password and password confirmation fields on the Create User page.