PKG_CHECK

The "PKG_CHECK" audit check performs a pkgchk against a SunOS system. The pkg keyword is used to specify the package to look for and the operator keyword specifies the condition to pass or fail the check based on the version of the installed package.

Tip: For information about the parameters commonly found in Unix custom items, see Unix Configuration Keywords.

Examples

<custom_item>

system: "SunOS"

type: PKG_CHECK

description: "Make sure SUNWcrman is installed"

pkg: "SUNWcrman"

required: YES

</custom_item>

<custom_item>

system: "SunOS"

type: PKG_CHECK

description: "Make sure SUNWcrman is installed and is greater than 9.0.2"

pkg: "SUNWcrman"

version: "9.0.2"

operator: "gt"

required: YES

</custom_item>