Managing the RBAC
You can use the following commands to manage RBAC:
auths(1)— Displays authorizations assigned to a user account
profiles(1)— Displays profiles assigned to a user account
roles(1)— Displays roles assigned to a user account
roleadd(1M)— Adds a role definition
roledel(1M)— Deletes a role definition
rolemod(1M)— Modifies a role definition
Displaying RBAC Assignments
If you use the auths, profiles, and roles commands without a command-line argument, the authorizations, profiles, and roles assigned to the current user account are listed. To list the authorizations, profiles, and roles assigned to another user account, specify the user account as a command-line argument, as shown in this example:
$ auths root solaris.*,solaris.grant ...
Get Solaris™ 8 System Administrator Exam Cram™ 2 (Exams CX-310-011 and CX-310-012) now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.