Mini-proposal for Elevated User Privileges in menu-spec

Tobias Gläßer tobi.web at
Sun May 15 16:07:13 EEST 2005


Am Sonntag, den 15.05.2005, 14:39 +0200 schrieb Heinrich Wendel:
> On Saturday 14 May 2005 02:34, jayc at CLEMSON.EDU wrote:
> > In October 2004, it was discussed how to handle elevated privileges:
> >
> >
> >
> > The proposed idea was shot down with most(?) siding with sudo as being
> > good enough.  So I have a different proposal.
> >
> <snip>
> >
> > Thanks for your consideration.
> Sounds good, but I don't think it belongs into the Menu Specification but into 
> the DesktopEntry Specification.

Yes, I think it belongs there, too. In GoFun I introduced the key
"X-GoFun-User", when this field is non-empty and the user exists (for
example "root") the application asks the user for the right password.
I think it's silly to restrict us on switching to the "root" user.

Am Sonntag, den 15.05.2005, 13:36 +0100 schrieb Mike Hearn: 
> Some programs can run without root but are more capable when they have it,
> so shouldn't this be "RootRequired=yes|optional"?

I think it'd be better to introduce a second key for something like that.
For example:
("false" means the same like "optional", but it's better to use the booleans like specified in the Desktop Entry Spec IMHO)


Tobias Gläßer

More information about the xdg mailing list