Adding and Updating Software in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

Installation Privileges

The commands discussed in Chapter 2, Getting Information About Software Packages do not require any special privilege to use. Tasks such as installing IPS packages, upgrading your operating system, and configuring publisher and image properties require more 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 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. For example, if you have the Software Installation rights profile, you can run the pkg and beadm commands to install and update packages and manage boot environments.

Roles

Use the roles command to list the roles that are assigned to you. For example, 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.