ktsuss 1.2 released

Tim Tassonis timtas at cubic.ch
Tue Sep 11 10:53:48 CEST 2007

David B. Cortarello wrote:
> Tim, thanks for the feedback. I missed a setuid() and a setgid() call
> in the auth code, sorry about that. I only tried it running
> applications as root, so that passed me by.
> This is an ugly fix, but works for now. Add this code before the crypt call:
> if(setuid(pw->pw_uid) && setgid(pw->pw_gid))
>     exit(3+0*fprintf(stderr, "I'm not setuid\n"));

Yes, that fixes the problem, I now get the correct output from id.

Are you planning to integrate PAM support into your program, maybe optional?

Thanks an Bye

More information about the Xfce4-dev mailing list