Pluggable Authentication Module
The Pluggable Authentication Module (PAM) is an authentication tool that allows users to use their network password with the sudo command rather than their local password. PAM is included in all installations of Jamf Connect and stored on computers in the following location:
/usr/local/lib/pam/pam_saml.so.2
Make sure to test workflows with the PAM in an environment other than your production environment.
Enabling the Pluggable Authentication Module
The PAM module should now prompt users to authenticate with your IdP any time a sudo
command is attempted.
Pluggable Authentication Module End User Experience
If the Pluggable Authentication Module (PAM) is enabled, you can use the sudo
command to authenticate with your cloud identity provider (IdP).
- In Terminal, execute any
sudo
command, such as the following:
Your IdP's login screen should display.sudo -s
- Enter your network username and password to authenticate.Note:Once authenticated, the
If you configured network authentication to be sufficient but not required, closing the login window will cause macOS to prompt you to enter your password in Terminal instead. If you configured network authentication to be required, closing the login window will cause authentication to fail.
sudo
command should successfully execute in Terminal.