Allow multiple users to share Unix primary group identifier (GID) so that duplicate GIDs aren't treated as attribute conflicts.
About this task
Early Access release
By default, Okta Privileged Access treats a duplicate Unix primary GID as an attribute conflict. If your organization assigns the same primary GID to many users, enable the shared primary GIDs feature. When the feature is enabled, Okta Privileged Access doesn't treat duplicate Unix GIDs as a user attribute conflict.
Before you begin
-
Contact Okta Support to enable the shared primary GIDs feature for your org.
-
You must know the GID of each shared group that you want to use.
-
The servers must be enrolled in Okta Privileged Access.
Procedure
-
On each server that Okta Privileged Access manages, create the shared group with its GID.
sudo groupadd -g GID group-name
Replace GID with the GID of the shared group and group-name with the name of the group. Use a descriptive name for the group.
CAUTION:
If the USERGROUPS_ENAB setting is set to true in /etc/login.defs, and the name of a shared group matches the username of a user who has that group as their primary group, the shared group is deleted when that user signs out. This applies to just-in-time (JIT) access. The group isn't deleted when USERGROUPS_ENAB is set to false.
If you don't create the group on the server, Okta Privileged Access creates it when the first user with that primary group signs in to the server. For just-in-time (JIT) access, the group is deleted when that user signs out. The group isn't deleted when the persistent accounts option is selected in the project settings.
-
Set the Unix primary GID attribute for the users who share the group to the GID of the shared group. See Configure team-level user attributes or Import user attributes using custom mappings.
Users with a shared GID are added to the shared group when they sign in to a server. Users with a unique GID still receive a group of their own at sign-in. For JIT access, the group is deleted when they sign out.