On Mon, 12 Aug 2002, Rick Cochran wrote: > > 2) 'setruid' is selected by 'configure' for use under AIX. Although the > setruid routine exists in the AIX libraries, IT IS CAREFULLY DOCUMENTED > AS BEING BROKEN. The configure script should show this routine as > non-existant on all AIX systems. >
In addition, on AIX you can't ever change real user id, unless you also set effective and saved uid to the same user id at the same time and thereby dropping all superuser privileges and any hope of ever changing back to the original user id. Thus setreuid() won't allow you to change the real user id either without setting the effective uid at the same time. Villy ----------------------------------------------------------------------------- YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address If you need help, send email to [EMAIL PROTECTED] (or lprng-requests or lprng-digest-requests) with the word 'help' in the body. For the impatient, to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] with: | example: subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED] unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED] If you have major problems, send email to [EMAIL PROTECTED] with the word LPRNGLIST in the SUBJECT line. -----------------------------------------------------------------------------
