|Skip Navigation Links|
|Exit Print View|
|Adding and Updating Oracle Solaris 11.1 Software Packages Oracle Solaris 11.1 Information Library|
The commands discussed in Chapter 3, Getting Information About Software Packages do not require any special privilege to use. Tasks such as installing and updating IPS packages, setting publishers, and modifying images require more privilege. Use one of the following methods to gain more privilege.
Use the profiles command to list the rights profiles that are assigned to you. If you have the Software Installation rights profile, you can use the pfexec command to install and update packages and manage boot environments.
$ pfexec pkg install editor/gnu-emacs $ pfexec beadm activate solaris11_1-2
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.
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.