【发布时间】:2021-11-30 21:55:35
【问题描述】:
在新机器上安装 slurm 并尝试限制 ssh 访问后,我收到错误:
Oct 12 11:29:00 localhost sshd[5087]: PAM unable to dlopen(pam_slurm.so): libslurm.so.35: cannot open shared object file: No such file or directory
Oct 12 11:29:00 localhost sshd[5087]: PAM adding faulty module: pam_slurm.so
Oct 12 11:29:00 localhost sshd[5087]: fatal: Access denied for user test by PAM account configuration [preauth]
libslurm.so.35 位于 /usr/local/lib 中,也添加到 PATH 中。
但是,在不同的服务器上会出现以下错误:
Oct 11 19:08:12 node-cpu-02 pam_slurm[13762]: Unable to dlopen libslurm.so.35.0.0: libslurm.so.35.0.0: cannot open shared object file: No such file or directory
Oct 11 19:08:12 node-cpu-02 pam_slurm[13762]: access granted for user test (uid=3010)
但 ssh 限制有效。
有人遇到过类似的问题吗?
谢谢!
【问题讨论】: