HomePhorge

Fix for #3107 Changing users on AIX
3d7168bef36bUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Fix for #3107 Changing users on AIX

There are several issues with changing the real, effective, and saved group
and user ids in different environments (which methods to call, in what order,
etc). While the code being replaced by this patch appeared to work for Linux,
Solaris, and (with a special case test) Darwin; it was failing under AIX and
may have had edge-case problems under the others.

Ruby back to 1.8.1 has supported a higher level interface that deals with the
problem and captures a broader range of OSes; it's a single call for group and
one for user--the details of rid/eid/svid, etc ordering are handled internally.
Switching to that simplifies our code and should improve/unify our support of
various OSes.

Details

Provenance
Markus Roberts <Markus@reality.com>Authored on
James Turnbull <james@lovedthanlost.net>Committed on May 18 2010, 6:44 AM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU57160281fd1b: Fixes #3663 - It should be possible to list signed hosts only
Branches
Unknown
Tags
Unknown

Event Timeline

James Turnbull <james@lovedthanlost.net> committed rPU3d7168bef36b: Fix for #3107 Changing users on AIX (authored by Markus Roberts <Markus@reality.com>).May 18 2010, 6:44 AM