summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2011-06-29 22:43:48 +0100
committerDavid Zeuthen <davidz@redhat.com>2011-08-01 09:47:28 -0400
commit7850d27017fed1834268a852350ae85381fbb110 (patch)
tree06a548b14791a6065884ad1c8201b606c0a012d5 /po
parent675e4337d7f83ffaf9612cadf7f365c545c51243 (diff)
downloadpolkit-7850d27017fed1834268a852350ae85381fbb110.tar.gz
Bug 38769 — pkexec: Support running X11 apps
Introduce a new annotation flag "org.freedesktop.policykit.exec.allow_gui" which will cause pkexec to preserve $DISPLAY and $XAUTHORITY. With this, the remaining few legacy X11 programs which still need to run as root can finally be migrated away from gksu (or similar) to pkexec, with the help of some .polkit files. This will provide a consistent UI and also help with making the authentication dialogs less spoofable. Relax validate_environment_variable() to allow '/' in $XAUTHORITY, as this variable actually is a full path. Signed-off-by: David Zeuthen <davidz@redhat.com>
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions