Assigning SAG configuration and operation roles to users
The customization of the SAG configuration and operation services creates several roles that are used to authorize users to issue commands to these services. Assign these roles to users for DNFSYSOU.
The
SAG configuration service has the following roles:
You must assign to a user or users the role or roles SagAdmin and SagCfgAdmin to run the SAG configuration and operation services. For example, you might assign the role SagAdmin to the user SA1 and SagCfgAdmin to the user SA2. You could also assign both roles to one user.
For example, to assign the roles SagAdmin,
SagCfgAdmin, and SagCfgPKIAdmin to the user JSMITH, enter:
dnicli -i INST1 -ou DNFSYSOU -s DNI_SECADM
add -user JSMITH -ro SagAdmin -ou DNFSYSOU
add -user JSMITH -ro SagCfgAdmin -ou DNFSYSOU
add -user JSMITH -ro SagCfgPKIAdmin -ou DNFSYSOU
com -user JSMITH
app -user JSMITH If dual authorization is enabled, another
user with the appropriate access rights must issue the app (approve)
command. Otherwise, you can issue the app command.Note: Users
who have the roles SagAdmin or SagCfgAdmin must also have the system
configuration administrator (DniSA) role for SYSOU.
To see which users in instance INST1 have the system configuration administrator (DniSA) role for SYSOU:
To see which users in instance INST1 have the SagAdmin role for DNFSYSOU:
- Open the CLI with the following parameters:
dnicli -i INST1 -ou DNFSYSOU -s DNI_SECADM - List all users, their role assignments, and whether each assignment
is active, and identify which users have the SagAdmin role:
INST1.DNFSYSOU.DNI_SECADM>list -user % -lo NBY - List all role groups and the roles they contain, and identify
which role groups contain the role SagAdmin:
INST1.DNFSYSOU.DNI_SECADM>list -rg % -lo NC - List all users and the role groups assigned to them, and identify
which users have a role group assigned that contains the role SagAdmin:
INST1.DNFSYSOU.DNI_SECADM>list -user % -lo NC