You can use the smpatch add command to apply one or more downloaded patches to your system.
You can use the local mode version of the smpatch command to apply one or more downloaded patches while your system is in single-user mode or in multiuser mode.
The smpatch add command ignores the policy for applying patches and does not resolve dependencies when applying patches.
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.
Apply the downloaded patches to your system.
To apply all patches listed in a file, type:
# smpatch add -x idlist=patch-list-file |
To apply particular patches, type:
# smpatch add -i patch-id -i patch-id ... |
To apply particular patches that have the singleuser property, you must first bring the system to single-user mode. Type:
# init S # smpatch add -i patch-id -i patch-id ... |
To apply the list of patches that could not be applied by the smpatch update command, you must first bring the system to single-user mode. Type:
# init S # smpatch add -x idlist=/var/sadm/spool/disallowed_patch_list |
The following example shows how to apply the patches listed in the file plist while the system is in single-user mode.
INIT: SINGLE USER MODE Type control-d to proceed with normal startup, (or give root password for system maintenance): root-password single-user privilege assigned to /dev/console. Entering System Maintenance Mode Jan 7 13:17:44 su: 'su root' succeeded for root on /dev/console Sun Microsystems Inc SunOS 5.8 Generic May 2000 # smpatch add -x idlist=plist |
The following example shows how to apply patch 112662-12 while the system is in single-user mode.
INIT: SINGLE USER MODE Type control-d to proceed with normal startup, (or give root password for system maintenance): root-password single-user privilege assigned to /dev/console. Entering System Maintenance Mode Jan 7 13:17:44 su: 'su root' succeeded for root on /dev/console Sun Microsystems Inc SunOS 5.8 Generic May 2000 # smpatch add -i 112662-12 |