su/sudo wrapper


An important feature of system-monitor is the ability to kill/renice
process as superuser directly from the GUI. This feature depends on
gksu. As gksu is not in Desktop, this makes an important feature depends
on an optional external dependency.

gksu has a nice simple API: gksu(command, &error) does everything : it
gets the credentials (may ask for password), and tries to run the
command. That's very easy to use and gksu is getting more and more

I think system-monitor is not the only Desktop program that needs run
stuff as root (with su/sudo backend). So i'd like to have a look at what
other people are using.

In the end, may be we could agree to use the same library for
consistency and ask for it to be an official external dependency.

Benoît Dejean

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=

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