Copying and Creating Package Repositories in Oracle® Solaris 11.2

Exit Print View

Updated: September 2014
 
 

Repository Management Privileges

Use one of the following methods to gain the privilege you need to create and configure package repositories. See Securing Users and Processes in Oracle Solaris 11.2 for more information about profiles and roles, including how to determine which profile or role you need.

Rights profiles

Use the profiles command to list the rights profiles that are assigned to you. The following profiles are useful for maintaining local package repositories:

ZFS File System Management

This rights profile enables you to run the zfs command.

Software Installation

This rights profile enables you to run the pkg command.

Service Management

This rights profile enables you to run SMF commands such as svccfg.

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 with the root password 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.