[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: (Possible) menu code rewrite

Em Wed, 17 Jul 2002 13:09:49 -0700, Chris Waters <xtifr@debian.org> escreveu:

> On Wed, Jul 17, 2002 at 01:29:58PM +0200, Erich Schubert wrote:
> > There's some additional stuff possible here:
> > We do have menu entries that need root access (like gkdebconf).
> > These entries should be displayed if the user is root (will root ever
> > use menu's?) but also if the user "knows a way to become root" - this
> > could be any of "sudo" "super" "su" "gnome-sudo"...
> > which probably should be configureable.
> And that's going to be set up to work with all of our window managers
> (and other menu-driven program launchers) how?

I think the way we're using su-to-root today is the answer to your question.
Make the 'command' call, for example, '/usr/bin/gksu /usr/bin/gkdebconf'
instead of just '/usr/bin/gkdebconf'.


kov@debian.org: Gustavo Noronha <http://people.debian.org/~kov>
Debian: <http://www.debian.org> * <http://debian-br.cipsga.org.br>
Dúvidas sobre o Debian? Visite o Rau-Tu: http://rautu.cipsga.org.br

Attachment: pgpJr7Hqfpg7n.pgp
Description: PGP signature

Reply to: