HP-UX: Find Out If Recommend Security Patch Applied Or Not

HP-UX: Find Out If Recommend Security Patch Applied Or Not

On an HP-UX system, you can use the "swlist" command to check if a specific security patch has been applied or not.

Here's the general procedure:

  1. Open a terminal window and log in as the "root" user.

  2. Type the following command to list all patches and their status:

swlist -l patch
Source:‮‬www.lautturi.com

This will display a list of all patches installed on your system, along with their name, version, and patch ID.

  1. To check if a specific patch has been applied, you can use the "grep" command to search for the patch ID. For example:
swlist -l patch | grep PHKL_12345

Replace "PHKL_12345" with the patch ID of the patch you want to check. If the patch is listed in the output, it has been applied to your system. If it is not listed, it has not been applied.

Note: The "swlist" command is a part of the "Software Distributor" (SD) utility, which is used to manage software packages on HP-UX systems. The patch ID is a unique identifier that is assigned to each patch by HP. You can find the patch ID of a specific patch by searching for it on the HP website or by contacting HP Support.

Created Time:2017-10-29 22:08:30  Author:lautturi