Managing System Services in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

Service Management Privileges

Modifying service state and configuration requires increased privilege. Use one of the following methods to gain the privilege you need. See Securing Users and Processes in Oracle Solaris 11.2 for more information about authorizations, profiles, and roles, including how to determine which profile or role you need and how to assign privileges.

Authorizations

See the smf_security(5) man page for detailed information about authorizations required for SMF operations. You can also inspect a particular service for properties such as action_authorization, modify_authorization, read_authorization, and value_authorization.

Rights profiles

Use the profiles command to list the rights profiles that are assigned to you. The Service Management rights profile grants you the solaris.smf.manage and solaris.smf.modify authorities and enables you to use the svcadm and svccfg commands. The Service Operator rights profile grants you the solaris.smf.manage and solaris.smf.modify.framework authorities.

Roles

Use the roles command to list the roles that are assigned to you. If you have the root role, you can use the su command to assume the root role.

sudo command

Depending on the security policy at your site, you might be able to use the sudo command with your user password to execute a privileged command.