Sun Patch Manager 2.0 Administration Guide for the Solaris 8 Operating System

Accessing the Sun Patch Manager Command-Line Interface


Caution  Caution

Do not run simultaneous Patch Manager operations on your system because it might become unstable. Do not interrupt a patch operation once it has started. If a patch operation is running, you must wait for that operation to complete before starting another operation.


You can run the smpatch command as a user with the appropriate authorizations, such as superuser, or by assuming a role that includes the appropriate profiles.

A user must have the solaris.admin.patchmgr.* authorization to run the smpatch command.

The System Administrator profile includes the appropriate profiles. To create the role and assign the role to a user, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.


Note

The pprosetup and pprosvc commands are included with Sun Patch Manager 2.0 for transition purposes. It is best not to use these commands and to use the smpatch command instead.


For more information about smpatch command-line options, see the smpatch(1M) man page.

ProcedureHow to Access the Sun Patch Manager Command-Line Interface

Steps
  1. Log in to a system as a user with appropriate authorizations or assume a role with the appropriate authorizations.

    Note that you must be an appropriately authorized user to assume an appropriate role. See Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. Run the smpatch command you want.

    For example:


    $ smpatch analyze
    
What to Do Next

You can use the smpatch command to configure the patch management environment for your system and manage patches. See the following: