pkexec : patch for safe "--keep-user-env" option
Jean-Philippe Guillemin
h1p8r10n at gmail.com
Sat Feb 27 12:01:10 UTC 2016
Hi,
Many X applications require root privileges, but at the same time want to
keep the original $USER env variable.
This option (see attached patch), while preserving the
sanitized environment, and also while still honoring the
org.freedesktop.policykit.exec.allow_gui annotate key : allow the user to
preserve the $USER environment variable.
I believe, this option is both safe, clean, and a must have for pkexec.
All the best
JP
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/polkit-devel/attachments/20160227/b4d1f120/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: polkit-0.105-keep_user_env_opt.patch
Type: text/x-patch
Size: 2358 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/polkit-devel/attachments/20160227/b4d1f120/attachment.bin>
More information about the polkit-devel
mailing list