- Administering Oracle Identity Cloud Service
- Manage Oracle Identity Cloud Service Components
- Manage Linux Authentication using the Linux-PAM Module
- Configure Groups and Users for the Linux-PAM
- Create a Group with POSIX Attributes
Create a Group with POSIX Attributes
Create a group with POSIX attributes.
- Create a
group.json
file with the following request body:group.json
{ "schemas": [ "urn:ietf:params:scim:schemas:core:2.0:Group", "urn:ietf:params:scim:schemas:oracle:idcs:extension:group:Group", "urn:ietf:params:scim:schemas:oracle:idcs:extension:posix:Group" ], "displayName": "posix group", "urn:ietf:params:scim:schemas:oracle:idcs:extension:group:Group": { "description": "", "creationMechanism": "idcsui" }, "urn:ietf:params:scim:schemas:oracle:idcs:extension:posix:Group": { "gidNumber": 11010 }, "members": [] }
where:
displayName
is set to the name of the group you wish to creategidNumber
must be set to a unique group id (gid) number. Use thegetent group
command on Linux to see the existing group gid's.
- Run the following curl command to create the group:
curl -k -X POST -H "Content-Type: application/json" -H "Authorization: Bearer <token-string>" "https://identity-cloud-service-instance-url/admin/v1/Groups" -d '@group.json'
where:
token-string
is the OAuth access token that you obtainedidentity-cloud-service-instance-url
is your Oracle Identity Cloud Service Instance URL
Note:
It is not possible to create a group with POSIX attributes using the Oracle Identity Cloud Service Administration Console.