3.1 Installing and Uninstalling Linux PAM Client on CentOS, Red Hat Enterprise Linux Client and Server 7

To install Linux PAM Client on CentOS, RHEL Client, and Server 7, perform the following steps:

  1. Run the following command:

    sudo yum install -y ./naaf-linuxpamclient-centos-release-<version>.rpm.

  2. Run the following configuration scripts:

    • If Linux machine is not bound to a domain, ensure that you select OS logon (local) type as the Linux logon event:

      sudo chmod +x /opt/pam_aucore/bin/bind-to-nondomain.sh
      sudo /opt/pam_aucore/bin/bind-to-nondomain.sh
    • If your Linux workstation is bound to a domain, ensure that you select OS Logon (domain) as the Event type:

      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.

To uninstall Linux PAM Client on CentOS, run the following command:

sudo rpm -e pam_aucore