O'Reilly logo

Solaris™ 8 System Administrator Exam Cram™ 2 (Exams CX-310-011 and CX-310-012) by Darrell L. Ambro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required