exec after seteuid

Earnie Boyd earnie_boyd@yahoo.com
Mon Jun 9 17:08:00 GMT 2003

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. ;)

Sorry, I couldn't resist,

More information about the Cygwin-patches mailing list