You can check the configuration settings of your patch management environment to help diagnose problems or to understand your system's patch-related settings.
The configuration settings output shows an entry for all configuration parameters. Each entry appears on a line by itself.
When you list all settings, each entry includes three fields: the parameter name, the value you have assigned, and its default value. The fields are separated by one or more tab characters.
The following values have special meaning:
- means that no value is set
"" means that the value is the null string
\- means that the value is -
\"" means that the value is "" (two double quotes)
In addition to these special values, these special characters might appear in the output:
\t for a tab
\n for a newline
\\ for a backslash
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.
List the configuration settings for your patch management environment.
To list all settings, type:
# smpatch get |
To list the values for one or more parameters, type:
# smpatch get parameter-name... |
The following example shows how to list all the configuration settings for your patch management environment.
# smpatch get patchpro.backout.directory - "" patchpro.download.directory - /var/sadm/spool patchpro.install.types - rebootafter:reconfigafter:standard patchpro.patch.source - https://updateserver.sun.com/solaris/ patchpro.patchset - patchdb patchpro.proxy.host - "" patchpro.proxy.passwd **** **** patchpro.proxy.port - 8080 patchpro.proxy.user - "" patchpro.sun.passwd **** **** patchpro.sun.user - "" |
The following example shows how to list the configuration settings for the patchpro.download.directory and patchpro.patchset parameters.
# smpatch get patchpro.download.directory patchpro.patchset /var/sadm/spool patchdb |