There are two general ways to run applications graphically as root (or, more generally, as another user). Programs like gksu
, gksudo
, and kdesudo
are graphical frontends for sudo
. In contrast, pkexec
is a graphical frontend for PolicyKit.
When manually running programs as root (or as another, non-root user), what are the advantages/disadvantages (if any) of using pkexec
, compared to the more traditional method of using a sudo
frontend?