3.5.2 Creating Roles and Getting Information about Roles
Use the CREATE ROLE command to create roles for Oracle Exadata System Software users.
For example, to create a role for administrators, you could use the following command:
CellCLI> CREATE ROLE adminAfter you have created a role, you can then grant privileges to the role using the GRANT PRIVILEGE command. You can also grant the role to users, for example:
CellCLI> GRANT PRIVILEGE ALL ACTIONS ON ALL OBJECTS TO ROLE admin
CellCLI> GRANT ROLE admin TO USER usernameTo get detailed information about a role, use the LIST ROLE command. The following command returns all the attributes for the admin role.
CellCLI> LIST ROLE admin DETAIL
name: admin
privileges: object=all objects, verb=all actions,
attributes=all attributes, options=all options
Related Topics
Parent topic: Creating Oracle Exadata System Software Users and Roles