On Sunday 07 March 2010, Matthias Clasen wrote: > On Mon, 2010-03-08 at 01:25 +0800, PCMan wrote: > > Agree. This need to be supported by the spec, but in the spec we can > > clearly recommend more sophisticated approaches like policykit and > > discourage the use of this key if better alternative exists. > > In this way, we don't promote the improper use of privilege elevation. > > Nor do we prevent developers who really need this from using it. The > > point is not sudo is good or not, but those who really need this > > feature should be able to use it given they don't find better > > alternatives for their cases. > > I don't think anything needs to be added to the spec. The spec gives you > a full exec line, you can use it to exec gksudo or use a console-helper > approach or polkit or any other mechanism you like. No need to add dead > weight to the spec for this.
But this forces a particular gui program (gksudo or kdesu etc.) whereas ExecuteAs=root is more generic (you get your desktop's usual gui-su-program rather than a hardcoded one). -- David Faure, [email protected], http://www.davidfaure.fr Sponsored by Nokia to work on KDE, incl. Konqueror (http://www.konqueror.org). _______________________________________________ xdg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xdg
