HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)
s
swa-get(1M) swa-get(1M)
Extended Options
The extended options may be specified in different ways: on the command line using the
-x option, in an
option file specified using the
-X option, or in one of the configuration files /etc/opt/swa/swa.conf
(system wide) or $HOME/.swa.conf
(user-specific). The
/etc/opt/swa/swa.conf.template
file provides example syntax for a configuration or
-X file.
If the same option is given in multiple locations, the following order is prioritized from highest to lowest:
1. Options specified on the command line
2. Options specified within an option file (
-X option_file)
3. Proxy environment variables (See the Environment Variable section.)
4. Options specified within the
$HOME/.swa.conf
file
5. Options specified within the
/etc/opt/swa/swa.conf
file
6. Default value, specified in the descriptions of each option below in option_name
=default_value format.
Note: If the same option or extended option is given multiple times in the same location, the last option
takes effect. If the option has a single letter equivalent (for example,
-v and
-x verbosity) and both
are used on the command line, the single letter option generally takes precedence. If the single letter
option affects an extended option that takes a list of arguments, specifying the single letter option multiple
times will append to the list.
swa get recognizes the following -x (extended) options which are shown with their default values:
-x allow_existing_depot=false
Usage: Advanced
Determines whether the target depot must be empty at the start of the command, or can be an exist-
ing depot. SWA does not perform any analysis of the depot contents. By specifying this option, you
accept responsibility for the contents of this depot.
true Target depot can exist (it is non-empty).
false Target depot must be empty at the start of the command.
-x analysis_file=${user_dir}/cache/swa_analysis.xml
Usage: Basic
The file containing the raw analysis results, including a list of software that should be downloaded
from Hewlett-Packard in order to address the issues found by the analysis. Use this option to save the
results from a specific analysis, and later reuse those results in order to download the corresponding
software from HP. If you do not use the default location when the analysis file is created
(swa report creates this file), be sure to specify that location when the analysis file is later used
(swa get uses this file).
Possible values include any absolute or relative pathname with appropriate permissions.
The use of ${user_dir} at the beginning of this option value is substituted with the value of the
user_dir option (which defaults to $HOME/.swa ).
-x crl_check=true
Usage: Advanced
When set to true, SWA will require the Certificate Revocation List (CRL) to be updated and checked
for the trusted Certificate Authority (CA) certificate being used to validate the remote server.
In the unlikely event that the private certificate of the server pointed to by the catalog_source
option is suspected of being compromised, its certificate will be revoked, and added to a list of revoked
certificates by the CA. See swa-report(1M) for information about the catalog_source option.
The CRL must be signed by the same certificate chain that signed the host certificate being checked.
Checking the CRL requires regular downloads from the CA, which can lengthen the SWA run time. If
you do not wish to validate a revocation list, set this to false.
-x crl_url=http://crl.verisign.com/RSASecureServer.crl
Usage: Advanced
The URL of the CRL. See the crl_check option for more information. If you are behind a proxy
server, then you will need to configure the proxy information for the protocol being used to download
the CRL.
HP-UX 11i Version 2: December 2007 Update − 2 − Hewlett-Packard Company 383