Desktop Entry Spec : RootRequired entry

Waldo Bastian bastian at kde.org
Fri Sep 2 16:30:41 EEST 2005


On Friday 02 September 2005 14:02, Jasper Huijsmans wrote:
> Waldo Bastian schreef:
> ...
>
> > What I would like to see clearified is whether, in case of
> > "RootRequired=Yes", the menu system should do whatever is needed to run
> > the program as root, or whether that is the responsibility of the
> > application itself. In KDE the menu system typically calls kdesu to run
> > the application as root when it indicates that it requires root, but
> > there are also cases where an application is started with normal user
> > privileges but which will require the root password later on.
> >
> > So I think something is needed that covers the following options:
> >
> > 1) start normally, no root required
> > 2) start as root, root required
>
> These look useful and can use desktop/distro specific means to get root,
> or simply be hidden if a menu implementation does not provide a way to
> get root.
>
> > 3) start normally, root required (e.g. gnome-terminal -e su)
>
> I think this could be indicated in the description/title. Why should the
> menu system care about this?
[SNIP]
> I don't really see the need for 3). Would you handle that differently
> than (1)?

If the menu system knows that the user isn't authorized to use the root 
account, ithe menu system should hide it because it doesn't make sense to 
show such entry.

Cheers,
Waldo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/xdg/attachments/20050902/6cc2fdb2/attachment.pgp 


More information about the xdg mailing list