发新话题
打印

PAM unable to dlopen(pam_systemd.so)解决办法

PAM unable to dlopen(pam_systemd.so)解决办法

sshd启动失败,显示错误:
PAM unable to dlopen(pam_systemd.so): /lib/security/pam_systemd.so: ca nnot open shared object file: No such file or directory

ubuntu、debian:
apt-get install --reinstall libpam-systemd
# /lib/x86_64-linux-gnu/security/pam_systemd.so

centos:
yum -y install systemd-pam
# /usr/lib64/security/pam_systemd.so


参考:
https://askubuntu.com/questions/818573/pam-unable-to-dlopenpan-systemd-so-when-to-login-on-tty1
https://installati.one/centos/8/systemd-pam/

TOP

发新话题