To install Linux PAM Client on CentOS, RHEL Workstation, and Server 7, perform the following steps:
Obtain the naaf-linuxpamclient-centos-release-<version>.rpm from Software Licenses and Downloads Portal.
For more information about how to download the installer, see Obtaining the Linux PAM Client Installer.
Run the following command:
sudo yum install -y ./naaf-linuxpamclient-centos-release-<version>.rpm.
Run one of the following commands:
Non-domain joined Linux machine
sudo chmod +x /opt/pam_aucore/bin/bind-to-nondomain.sh
sudo /opt/pam_aucore/bin/bind-to-nondomain.sh
NOTE:Ensure to set Event type as OS logon (local) in the Linux logon event for the Linux machine that is not joined to a domain.
Domain joined Linux machine
sudo chmod +x /opt/pam_aucore/bin/bind-to-ad.sh
sudo /opt/pam_aucore/bin/bind-to-ad.sh mycompany.com
where mycompany.com is your FQDN.
NOTE:Ensure to set Event type as OS Logon (domain) in the Linux logon event for the Linux machine that is joined to a domain.
To uninstall Linux PAM Client on CentOS, run the following command:
sudo rpm -e pam_aucore