NOTE:Before installing Linux PAM Client on Ubuntu, ensure to configure lightdm. For more information, see Preinstalling the Configuration on Ubuntu 16.
To install Linux PAM Client on Ubuntu, Debian 9, and Debian 10 perform the following steps:
NOTE:Before installing Linux PAM Client on Debian 10, switch to root account. Run the following command to switch to root account:
su -l
Set the root path and edit /root/.bashrc with the root privileges to add the following line:
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Run all commands to install Linux PAM Client without the prefix sudo.
Obtain the naaf-linuxpamclient-debian-release-<version>.deb 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 dpkg -i naaf-linuxpamclient-debian-release-<version>.deb
Run one of the following commands:
Non-domain joined Linux machine
sudo chmod +x /opt/pam_aucore/bin/activate-nondomain.sh
sudo /opt/pam_aucore/bin/activate-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/activate.sh
sudo /opt/pam_aucore/bin/activate.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 Ubuntu and Debian 9, run the following command:
sudo dpkg --purge pam_aucore
To uninstall Linux PAM Client on Debian 10, run the following command without the prefix sudo:
dpkg --purge pam_aucore