ktsuss 1.2 released

David B. Cortarello nomius at users.berlios.de
Wed Sep 12 23:35:42 CEST 2007


Yes, I know, I'll fix it when I get home, I tried a shorcut with
setreuid and setregid, but didn't work as I expected, fixing it is
just modify two lines adding setuid and setgid. :-)

On 9/12/07, Tim Tassonis <timtas at cubic.ch> wrote:
> Hi David
>
>
> Thanks for the new release. However, it again has the problem that:
>
> ktsuss id
>
> and provide the credentials "timtas/password", the output is:
>
> uid=0(root) gid=1000(timtas) groups=4(adm),..,119(fuse),1000(timtas)
>
>
> Bye
> Tim
>
>
> David B. Cortarello wrote:
> > Guys, try this new "snapshot":
> > http://dcortarello.googlepages.com/ktsuss-1.3.tar.gz
> >
> > It has a several things fixed. And implemented -u param, so:
> > root at Aquiles:~# ktsuss -u root Thunar
> > Wouldn't ask for password and will just launch the application as he
> > is already root (same happens with any user).
> >
> > Thanks to all who sent feedback and patches.
> >
> > On 9/11/07, Enrico Tröger <enrico.troeger at uvena.de> wrote:
> >> On Mon, 3 Sep 2007 20:47:47 -0300, "David B. Cortarello"
> >> <nomius at users.berlios.de> wrote:
> >>
> >>> I spoke here once about ktsuss (a graphical version of su) as an
> >>> alternative to gksu.
> >>> Today I just released version 1.2. If anyone wants to download it,
> >>> this is the place to do it:
> >> Great work.
> >> Anyway, while compiling I noticed a couple of compiler warnings, so I
> >> took a look at the code and fixed the warnings as well as some other
> >> things. Please find the attached patch.
> >>
> >> Changes:
> >> - added missing header files to avoid compiler warnings
> >> - removed unused variables
> >> - don't use deprecated gtk_exit, use (g)libc's exit() instead
> >> - rewrote error message code a bit
> >>
> >> Code like
> >> gtk_exit(2+0*fprintf(stderr, "Command not found\n"));
> >> is just ugly, isn't it? When reading such code, I understand why people
> >> are always saying C is an awful language. I rewrote the code for better
> >> readability.
> >>
> >> Btw, did you though about using gettext for i18n?
> >>
> >> Regards,
> >> Enrico
> >>
> >> --
> >> Get my GPG key from http://www.uvena.de/pub.key
> >>
> >> _______________________________________________
> >> Xfce4-dev mailing list
> >> Xfce4-dev at xfce.org
> >> http://foo-projects.org/mailman/listinfo/xfce4-dev
> >>
> >>
> >
> >
>
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce4-dev
>


-- 
David B. Cortarello <nomius`at`users`dot`berlios`dot`de>
Weblog: http://nomius.blogspot.com
Kwort Linux: http://www.kwort.org
Jabber: nomius at jis.mit.edu

"Computer science is no more about computers than astronomy is about
telescopes." - Edsger Dijkstra



More information about the Xfce4-dev mailing list