Using Rights Profiles and Roles

Caution:

Be careful when using the usermod and rolemod commands to add authorizations, rights profiles, or roles.
  • For the Oracle Solaris 11 OS, add values by using the plus sign (+) for each authorization you add.

    For example, the usermod -A + auth username command grants the auth authorization to the username user; similarly for the rolemod command.

  • For the Oracle Solaris 10 OS, the usermod or rolemod command replaces any existing values.

    To add values instead of replacing them, specify a comma-separated list of existing values and the new values.