Goal proposal: Replace gksu because incompatible to at-spi

Siegfried-A. Gevatter siggi.gevatter at gmail.com
Sat Mar 6 15:01:12 UTC 2010


2010/3/6 Francesco Fumanti <francesco.fumanti at gmx.net>:
> Could anybody please confirm that pkexec is intended to start GUI-applications like synaptic and if possible point to some documentation about how to do it (or could anybody explain it to me)?

>From http://hal.freedesktop.org/docs/polkit/pkexec.1.html:

"The environment that PROGRAM will run in, will be set to a minimal
known and safe environment in order to avoid injecting code through
LD_LIBRARY_PATH or similar mechanisms. In addition the PKEXEC_UID
environment variable is set to the user id of the process invoking
pkexec. As a result, pkexec will not allow you to run e.g. X11
applications as another user since the $DISPLAY environment variable
is not set. "

So, it doesn't look like it is.

-- 
Siegfried-Angel Gevatter Pujals (RainCT)
Free Software Developer       363DEAE3




More information about the Ubuntu-devel-discuss mailing list