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

A replacement for gnome-sudo (was Re: localeconf package)



On 17 Feb 2002 19:57:25 -0500
Jeff Licquia <licquia@debian.org> wrote:

> The configlets need a way to run programs as root (specifically debconf
> stuff and the postinsts of the programs they configure).  Any way they
> can do that is fine.
> 
> Unfortunately, the only way I know of to ask for the root password via
> an X window halfway safely (and without the ugliness of "xterm -e") is
> with gnome-sudo.  If you have any better ways, let me know.
so, I went deep on this and learned a lot about IPC and gtk (maybe not
enough, though... one day is usually not enough for me to learn things well)
to create a replacement for gnome-sudo that uses su instead of sudo,
I borrowed some parts of gnome-sudo and learned a lot on kdesu's sources

It would be good if you could give a try to GKsu, and tell me if it is good
enough to go in Debian... WARNING: I hacked the program in 1 day,
learned almos everything that was needed to do that (forkpty, writing
and reading between processes and some gtk stuff like pixmaps on buttons)
on the day before... security problems may be present on it....

deb http://non-us.debian.org/~kov/debian unstable/
deb-src http://non-us.debian.org/~kov/debian sources/

pkgname is 'gksu' (it is on non-us because there are some packages of mine
that I must keep in there, so everything goes together, so that I don't need
to maintain 2 repositories =P)

thanks for the great work on the configlets

[]s!

-- 
    Gustavo Noronha Silva - kov <http://www.metainfo.org/kov>
*---------* -+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+-+
|  .''`.  | Debian GNU/Linux: <http://www.debian.org>         |
| : :'  : + Debian BR.......: <http://debian-br.cipsga.org.br>+
| `. `'`  + Q: "Why did the chicken cross the road?"          +
|   `-    | A: "Upstream's decision." -- hmh                  |
*---------* -+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+-+



Reply to: