Access denied after installing Duo on Ubuntu server 18.04

After following the Duo documentation to install Duo 2fa on my server running Ubuntu server 18, I am getting access denied when trying to login via ssh. The ssh session prompts for username and password and then immediately states access denied after installing Duo. Where have I gone wrong?

Hey Dustin! If you used our Duo Unix protection using PAM, you might need to provide the absolute path for the shared object inside the PAM stack you configured. Above the examples in the documentation we mention that the location of the might be in /lib64/security/ on some OSes or achitectures.

If your line looks like this:
auth [success=1 default=ignore]

Try editing it to this:
auth [success=1 default=ignore] /lib64/security/

1 Like