HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)
s
swa-get(1M) swa-get(1M)
NAME
swa-get: swa - download software from HP to resolve issues and make a depot
SYNOPSIS
swa get [-p] -t
target_depot
[
-q[q[q
]]] [-v[v]] [[-option] -?][
-x option=[value|-?]] [-X option_file]
DESCRIPTION
The
swa get command downloads software from HP to resolve issues identified by
swa report; see
swa-report(1M). By default, a new depot is created. While
swa get can update an existing depot, it does
not analyze that depot for issues and the original contents of that depot are the responsibility of the system
administrator. Currently, only patches can be downloaded from HP (for example, Application Release
software is excluded), and some security issues require manual action (that is, cannot be resolved by HP-
supplied patches).
The
swa get command determines which software to download based on the analysis file from a previous
swa report command. If a pre-existing depot is being updated,
swa get determines if the needed
software is already in the depot or in the
swcache directory. swa get will not download patches that
already exist in either location.
Security Considerations
Software download (
swa get) relies on the integrity of the analysis file to ensure the integrity of patches
before unpacking them. The analysis file gets MD5 checksum information directly from the catalog. There-
fore it is important that all transmissions of the catalog and/or analysis file are integrity protected and that
file permissions do not allow unnecessary modification.
Depot creation (swa get) relies on the integrity of the patches within the
swcache directory. There-
fore, after unpacking the patches, it is important that all subsequent transmissions of the patches are
integrity protected and that file permissions do not allow unauthorized modification. Deploying software
using Software Distributor (using the
swinstall command) has security properties that are documented
in the Software Distributor Administration Guide.
Options
swa get recognizes the following options:
-p Runs this command in preview mode.
-t target_depot
The depot that software is copied into as specified by target_depot. This is where patches from
HP are copied into. Normally, the target_depot should be empty and a new depot will be
created. If the depot already exists, you must specify the advanced option
-x allow_existing_depot=true
and understand its implications. (See also the
-x allow_existing_depot
option in Extended Options).
-q The verbosity level is decreased by one for each instance -q is specified. (See also the
-x verbosity option.)
-v The verbosity level is increased by one for each instance -v is specified. (See also the
-x verbosity option.)
-? Displays general usage.
-option -?
Describes the legal values for this option. If option is -x, all possible extended options are listed
for the specified major mode (swa command). If no major mode is given, all extended options
are listed for all the major modes.
-x option=value
Sets the extended option to a value. See the Extended Options definitions below.
-x option=-?
Describes the legal values for this option.
-X option_file
Gets the extended options from option_file. For a description and examples of syntax for this
file, see the /etc/opt/swa/swa.conf.template file.
382 Hewlett-Packard Company − 1 − HP-UX 11i Version 2: December 2007 Update