HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)

s
swlist(1M) swlist(1M)
codeword=
Provides the "codeword" needed to unlock protected HP CD-ROM software.
Some HP software products are shipped on CD-ROM as "protected" products. That is, they
cannot be installed or copied unless a "codeword" and "customer ID" are provided. The
codeword is found on the CD-ROM certificate which you received from HP. You may use
this default specification on the command line or the SD-UX interactive user interface to
enter the codeword.
This default stores the codeword for future reference; it needs to be entered only once. If a
new HP product is purchased and a previous codeword has already been entered for that
CD-ROM, just enter the new codeword as usual and the codewords will be merged inter-
nally.
NOTE: For HP-UX B.10.10 and later systems, SD searches the
.codewords file on the
server that is providing protected software to other hosts. It looks for valid
customer_id/codeword pairs. In doing so, SD eliminates the need to enter codewords and
customer_ids on every host that is "pulling" the software.
To properly store the customer_id/codeword for a CD-ROM, run
swinstall -p or
swcopy -p on the host serving the CD-ROM. After the codeword has been stored, clients
installing or copying software using that host and CD-ROM as a source will no longer
require a codeword or customer_id.
create_time_filter=0
For cumulative source depots, this option allows consistent software selections over time by
swlist, swcopy, and swinstall. The default of zero includes all bundles, products,
subproducts, and filesets in the source depot as candidates for selection (and autoselection
of dependencies and patches), based on the software selections and other options. When set
to a time (specified as seconds from epoch), only those bundles, products, and filesets (and
the subproducts in the product) with a create_time less than or equal to the specified value
are available for selection (or autoselection). To list the create_time of bundles, products
and filesets, use:
swlist -a create_time -a create_date
customer_id=
This number, also printed on the Software Certificate, is used to "unlock" protected
software and restrict its installation to a specific site or owner. It is entered using the
-x
customer_id= option or by using the interactive user interface. The customer_id can be
used on any HP-UX 10.X or later system.
distribution_target_directory=/var/spool/sw
Defines the default location of the target depot.
installed_software_catalog=products
Defines the directory path where the Installed Products Database (IPD) is stored. This
information describes installed software. When set to an absolute path, this option defines
the location of the IPD. When this option contains a relative path, the SD controller
appends the value to the value specified by the admin_directory
option to determine
the path to the IPD. For alternate roots, this path is resolved relative to the location of the
alternate root. This option does not affect where software is installed, only the IPD loca-
tion.
This option permits the simultaneous installation and removal of multiple software applica-
tions by multiple users or multiple processes, with each application or group of applications
using a different IPD.
Caution: use a specific
installed_software_catalog to manage a specific applica-
tion. SD does not support multiple descriptions of the same application in multiple IPDs.
See also the
admin_directory and run_as_superuser
options, which control SD’s
nonprivileged mode. (This mode is intended only for managing applications that are spe-
cially designed and packaged. This mode cannot be used to manage the HP-UX operating
system or patches to it. For a full explanation of nonprivileged SD, see the Software Distri-
butor Administration Guide, available at the
http://docs.hp.com web site.)
layout_version=1.0
Specifies the POSIX layout_version to which the SD commands conform when
484 Hewlett-Packard Company 5 HP-UX 11i Version 2: December 2007 Update