Waldo Bastian schreef:
On Friday 02 September 2005 15:30, Waldo Bastian wrote:
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
Le vendredi 02 septembre 2005 à 15:41 +0200, Jasper Huijsmans a écrit :
Waldo Bastian schreef:
...
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
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
Benedikt Meurer schreef:
Jasper Huijsmans wrote:
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?
I don't really see the need for 3). Would you handle that differently
than
Jasper Huijsmans wrote:
For su it's easy, just check if the user is in the group 'wheel' or
'root' (depending on the system).
I have the root password, how do you know that? The limitation for su to
the wheel group is only in the BSD's I think.
I don't remember exactly, but I think this is
On Friday 02 September 2005 15:30, Waldo Bastian wrote:
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
Hi !
I'm still not clear as to how the menu implementation is supposed to
*know* whether or not the user has root access (either via sudo, or by
knowing the actually root password. Having some mechanism in place
(which also needs to be defined) to set an env var such as USER_IS_ADMIN
sounds
On Sun, 28 Aug 2005, Rodney Dawes wrote:
This seems like the wrong way to go about this to me. There are some
things users SHOULD see in the menu AND that require elevated priveleges
to use. Changing the date/time, software update tools, file sharing with
samba, are just some examples.
His