mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-11 19:14:21 -05:00
80159545a5
https://forums.whonix.org/t/xfce4-power-manager-xfpm-power-backlight-helper-pkexec-lxsudo-popup/8764 do show lxqt-sudo password prompt if there is a sudoers exceptoin improved pkexec wrapper logging
12 lines
537 B
Plaintext
12 lines
537 B
Plaintext
## Copyright (C) 2019 - 2019 ENCRYPTED SUPPORT LP <adrelanos@riseup.net>
|
|
## 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
|
|
|
|
## 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"
|