disable proc-hidepid by default because incompatible with pkexec

and undo pkexec wrapper
This commit is contained in:
Patrick Schleizer 2020-04-12 16:52:55 -04:00
parent 72be31e870
commit 4429315291
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -2,10 +2,10 @@
## See the file COPYING for copying conditions.
## REVIEW: is it ok that users can find out the PATH setting of root?
%sudo ALL=NOPASSWD: /usr/lib/security-misc/echo-path
#%sudo ALL=NOPASSWD: /usr/lib/security-misc/echo-path
## xfpm-power-backlight-helper demands environment variable PKEXEC_UID to be
## set. Would otherwise error out with the following error message:
## "This program must only be run through pkexec"
## REVIEW: Can bad things be done by spoofing PKEXEC_UID?
Defaults:ALL env_keep += "PKEXEC_UID"
#Defaults:ALL env_keep += "PKEXEC_UID"