Am 03.11.2011 19:28, schrieb Luk Claes: > On 11/03/2011 07:20 AM, Christian PERRIER wrote: > It seems many uses of su-to-root could be replaced by pkexec (package > policykit-1), no? > > Or is there something wrong with that approach? Ideally, applications should support policykit natively and split the part which requires admin privileges in a small, separate helper binary, which controlls the access to it via policykit. pkexec, similar to gksudo, will run the full application with root privileges. pkexec has native GUI implementations (providing the authentication dialogs) for KDE, gnome-shell and a GTK based interface. It also works on the command line. pkexec also supports "sudo" mode, i.e. if you add users to the sudo group, they will be prompted for their own password instead of the root password. So it can be considered as a replacement for both gksudo and gksu (and all the other su and sudo frontends). Cheers, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
Description: OpenPGP digital signature