5.1 Installing and Uninstalling Linux PAM Client on CentOS and Red Hat Enterprise Linux

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

  1. Run the following command:

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

  2. 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