exec after seteuid

Christopher Faylor cgf@redhat.com
Mon Jun 9 17:19:00 GMT 2003


On Mon, Jun 09, 2003 at 01:08:29PM -0400, Earnie Boyd wrote:
>Pierre A. Humblet wrote:
>>
>>Right. It was a side comment motivated by the presence of the initgroups()
>>in the original BSD login code. I was thinking that one day initgroups on
>>cygwin could do more stuff, allowing for example
>> initgroups("chris", gid)
>> setuid("corinna")
>>which would then have you run with chris' groups. Today the "chris" is
>>disregarded. If initgroups does that, it has to be placed at the right 
>>spot.
>>
>
>Oh, man, I hate it when chris is disregarded, it's disrespectful. ;)

Well, thanks for standing up for me, Earnie!

cgf



More information about the Cygwin-patches mailing list