Using Rights Profiles and Roles
Caution:
Be careful when using theusermod 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 therolemodcommand. -
For the Oracle Solaris 10 OS, the
usermodorrolemodcommand replaces any existing values.To add values instead of replacing them, specify a comma-separated list of existing values and the new values.