I'm attempting to port Chris Myers' deluxe ftp daemon to AIX
(it's the one used by ftp.uu.net, I believe) and I'm having
problems with the setegid() and seteuid() calls. This section
of the code looks like it is from the original ftpd.
I've successfully compiled it, set permissions to -r-sr-xr--,
ownership to root.system, then I use 'smit inetd' to set the
the new ftpd. It works, but only for root logins. For all
others, it fails at the setegid() call in ftpd.c - with
an errno of 1, 'Not owner'.
Has anyone successfully ported this one? If so, could you tell me
how you did it?
Is there something different in the use of the sete[g|u]id
calls between SunOS (for example - where things do work) and