Assigning authorizations to roles
You can use the mkrole or chrole commands to assign authorizations to a role.
- Run the mkrole command to assign the auth_name1 and auth_name2 authorizations
to the role_name role:
mkrole authorizations=auth_name1,auth_name2 role_name
- Run the chrole command to assign the auth_name1 and auth_name2 authorizations
to the role_name role:
chrole authorizations=auth_name1,auth_name2 role_name