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

ProcedureHow to Reset Configuration Parameters to the Default Values

You must reset parameter values explicitly. You cannot use the smpatch command to reset all parameter values at once.

Steps
  1. Become an appropriately authorized user or assume a role that includes the Software Installation profile or the solaris.admin.patchmgr.* authorization.

    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.

  2. Reset a configuration parameter for your patch management environment to its default value.


    # smpatch unset parameter-name...
    

Example 59 Resetting Configuration Parameters to the Default Values

The following example shows how to configure a system to obtain patches from the Sun patch server instead of from a different patch source.


# smpatch unset patchpro.patch.source

The following example shows how to reset the patch download directory and the backout directory locations to the default values.


# smpatch unset patchpro.download.directory patchpro.backout.directory