pkttyagent WARNING: Cannot determine user of subject

参考链接:link

  • 原因:

/etc/fstab中发现

proc    /proc        proc        defaults,hidepid=2    0 0
  • 解决
groupadd nohideproc
usermod -a -G nohideproc polkitd
mount -o remount,rw,hidepid=2,gid=nohideproc /proc
systemctl restart polkit
systemctl restart polkit (do this twice)

修改fstab

proc /proc proc defaults,hidepid=2,gid=nohidproc 0 0
posted @ 2024-07-25 11:50  武平宁  阅读(20)  评论(0)    收藏  举报