全新 Debian 安装:用户管理器单元状态失败?

全新 Debian 安装:用户管理器单元状态失败?

我在 VPS 上安装了全新的 Debian 10(我只添加了 SSH 和 SELinux,按照 Debian 文档安装),运行良好,但当我systemctl status这样做时,它会列出一个失败的单元[email protected]

进一步调查,日志中写道:

PAM failed: Cannot make/remove an entry for the specified session
Failed to set up PAM session: Operation not permitted
Failed at step PAM spawning /lib/systemd/systemd: Operation not permitted
Failed with result 'protocol'.
Failed to start User Manager for UID 1001.

这似乎没有提供太多具体信息。这看起来像是随机登录尝试失败。但是当我查看正在运行的 CentOS 服务器时,它没有因登录尝试失败而导致失败的 systemd 单元,因此这种行为让我觉得很奇怪。它不应该默默地失败,还是我缺少一些特定的设置/配置?

顺便说一句,当我这样做时,systemctl reset-failed失败的单元会消失并保持不变,直到记录另一次失败的尝试并显示为新的 id,即[email protected]

相关内容