HP-UX HB v13.00 Ch-05 - SD-UX

HP-UX Handbook Rev 13.00 Page 21 (of 49)
Chapter 05 Software Distributor (SD-UX)
October 29, 2013
swreg Command
The swreg command registers or unregisters an existing depot. When a depot is registered, it can
be accessed from remote systems. Unregistration of a depot can be a convenient way to limit
access during development. (Note that unregistered depots are still available locally.)
Synopsis
swreg -l level [-u] [-v] [-C session_file] [-f object_file] [-S session_file] [-t target_file]
[-x option=value] [-X option_file] [objects_to_(un)register] [@ target_selections]
Command Line Arguments
-l depot
Perform operations on depots. While other levels of SD-UX objects may be modified
by swreg, they are not within the scope of this tutorial.
-u
Causes swreg to unregister the specified objects instead of registering them.
-v
Requests verbose mode. This option affects only standard output and not the log files.
objects
Specifies the path to the object[s] to be registered or unregistered.
For the full set of available options, consult the swreg(1m) man page or the Software Distributor
Administration Guide HP-UX 11i v1, 11i v2, and 11i v3.
Examples
Register the patch depot QPK1100:
swreg -l depot /cdrom/QPK1100
Disable remote access by unregistering the depot QPK1100 (local access is still enabled):
swreg -u -l depot /cdrom/QPK1100
swmodify Command
SD-UX commands automatically keep track of software management operations by creating an
Installed Products Database (IPD) and various catalog files that contain information about the
software on the system. Although you cannot edit the IPD or catalog files directly, the swmodify
command lets you change the contents of these files via the command line.
WARNING: With the exception of committing patches and
creating category tags, the swmodify command is not
recommended for general usage. Improper alteration of the
information in the IPD could cause unexpected behavior during