Okta Advanced Server Access (ASA): Shared Primary Groups (GID)

Advanced Server Access
Okta Classic Engine
Okta Identity Engine

Overview

Okta Advanced Server Access (ASA) creates one primary group for each user by default, and using the same group ID (GID) value for a user creates attribute conflicts. Enabling the Shared Primary GIDs Early Access feature allows administrators to provision users with the same group IDs on UNIX environments for better permission management. Contact Okta Support to enable this feature, and then configure the project and server settings to assign users to a shared primary group.

Applies To

  • Okta Identity Engine (OIE)
  • Okta Classic Engine
  • Okta Advanced Server Access (ASA)
  • Shared Primary GIDs Early Access Feature

Solution

What steps configure the Shared Primary GIDs feature?

Configure the Shared Primary GIDs feature by enabling the option within the Okta Advanced Server Access project settings, creating a common group on the target servers, retrieving the new group ID, and mapping this ID to the users in both Okta Advanced Server Access and the Okta Admin Console.

  1. Enable the Shared Primary GIDs option in the Okta Advanced Server Access project.

Update Project

  1. If the common group does not exist on the servers, it must be created.
    sudo groupadd <the group name>
  2. Once the group is created, find the group ID. 
    grep <the group name> /etc/group
    <the group name>:x:55003:
    
  3. Now, the ID of the group 55003 can be used in Advanced Server Access (ASA) to assign the users to the same primary group. This can be done individually in Advanced Server Access (ASA) or in Okta. Mappings can be made to push the attributes to Advanced Server Access (ASA).

Project value override   

    1. Advanced Server Access (ASA): Under Project > Users > Edit attributes, add the group ID discovered in step 3, which in the above example is 55003.
    2. In Okta, the user's value needs to be mapped to the UnixGid in Advanced Server Access (ASA).
  1. It may take up to 5 minutes for the sync to update the users with the new GID. Once sufficient time has passed, this command can be used to validate the primary GID change. 
    id <the user to be checked>
    ls -l
  2. Now that the users have the same primary group, items are shared based on group permissions. 

Related References

Recommended content

No recommended content found...