Board logo

标题: PAM unable to dlopen(pam_systemd.so)解决办法 [打印本页]

作者: linda    时间: 2022-10-11 11:36     标题: 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/




欢迎光临 中神通公司技术论坛 (http://trustcomputing.com.cn/bbs/) Powered by Discuz! 6.0.0