我的系统日志充满了这些消息
Nov 22 13:14:36 virtuale-2 gnome-keyring-daemon[2413]: couldn't create socket directory: /root/.cache/keyring-CI8ZC1: Permission denied
Nov 22 13:14:36 virtuale-2 gnome-keyring-daemon[2413]: couldn't bind to control socket: /root/.cache/keyring-CI8ZC1/control: Permission denied
Nov 22 13:14:40 virtuale-2 gnome-keyring-daemon[2421]: couldn't create socket directory: /root/.cache/keyring-LQDED1: Permission denied
Nov 22 13:14:40 virtuale-2 gnome-keyring-daemon[2421]: couldn't bind to control socket: /root/.cache/keyring-LQDED1/control: Permission denied
进程不存在!
pgrep -a keyr
pgrep -a gnome
无法找到它来自哪里
grep -irl gnome-keyring-daemon /etc
如何阻止它?
TL;DR -在以in
only_if=xdm,gdm,kdm,sddm,lightdm,<your preferred DM>
结尾的行之后添加。[...] pam_gnome_keyring.so auto_start
/etc/pam.d/system-auth
它来自
pam_gnome_keyring.so
被引用/etc/pam.d/system-auth
(它并不真正属于),而它又来自其他几个 PAM 配置文件,因此gnome-keyring-daemon
每次运行时都会启动su
一个实例sudo
,例如:Slackware 具体讨论在这里和这里,官方 GNOME 文档在这里。
找到了解决方法...
但我更喜欢禁用它并知道谁尝试启动此过程。