[Pkg-auth-maintainers] Bug#979973: no such file or directory when PAM accesses it

VA bugs at indigo.re
Tue Jan 12 12:28:00 GMT 2021

Package: libpam-yubico
Version: 2.26-1.1
Severity: important

I use pam_yubico.so in /etc/pam.d/sshd

This is the error I now get:

xxx sshd[x]: PAM unable to dlopen(pam_yubico.so): 
/lib/x86_64-linux-gnu/security/pam_yubico.so: cannot open shared object 
file: No such file or directory
xxx sshd[x]: PAM adding faulty module: pam_yubico.so

It seems the file is in /lib/security/pam_yubico.so

This command seems to solve the problem but the package seems unusable 
as is:
ln -s /lib/security/pam_yubico.so /lib/x86_64-linux-gnu/security

More information about the Pkg-auth-maintainers mailing list