How to use the usermgr RAD API in Python (Basic Examples) (Doc ID 2058018.1)

Last updated on JULY 29, 2016

Applies to:

Solaris Operating System - Version 11.1 and later
Information in this document applies to any platform.

Goal

Solaris 11.1+ includes a RAD API to add / modify / delete user or roles and get user informations (pkg://system/management/rad/module/rad-usermgr).

The API is documented in the usermgr(3RAD) man page. Unfortunately, it does not contain examples (RFE -  Bug 21865301 - usermgr needs more documentation).

This doc will show a few simple examples how to use this API in Python 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms