/proc contains information about all processes running on the system. By default this is accessible to all users. This can allows an attacker to spy a lot on other processes. To allow users to only see their own processes, edit /etc/fstab and add
proc /proc proc nosuid,nodev,noexec,hidepid=2,gid=proc 0 0
systemd-logind still needs to see other users’ processes so, for user sessions to work correctly add this to /etc/systemd/system/systemd-logind.service.d/hidepid.conf
However when I do this, Pamac gives me an authentication failure. I can’t enter a password when I want to do something in Pamac (update, install, edit preferences) and pamac only gives me a dialog that the authentication failed.
How can I make above setting work with Pamac?