Pluggable Authentication Module with Self Service+
- Last UpdatedOct 6, 2025
- 2 minute read
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 Self Service+ (formerly the Jamf Connect menu bar app) and stored on computers in the following location:
/usr/local/lib/pam/pam_saml.so.2
The PAM module should now prompt users to authenticate with your IdP any time a sudo
command is attempted.
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.