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
sudocommand, 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.
sudocommand should successfully execute in Terminal.