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

s
swmodify(1M) swmodify(1M)
The optional command_name prefix denotes one of the SD commands. Using the prefix limits the change
in the default value to that command. If you leave the prefix off, the change applies to all commands.
You can also override default values from the command line with the
-x or -X options:
command
-x option=value
command -X option_file
The following keywords are supported by swmodify. If a default value exists, it is listed after the
=. The
commands that this option applies to are also specified. The policy options that apply to
swmodify are:
admin_directory=/var/adm/sw
(for normal mode)
admin_directory=/var/home/LOGNAME/sw
(for nonprivileged mode)
The location for SD logfiles and the default parent directory for the installed software cata-
log. The default value is
/var/adm/sw for normal SD operations. When SD operates in
nonprivileged mode (that is, when the run_as_superuser
default option is set to
true):
The default value is forced to
/var/home/LOGNAME/sw
.
The path element
LOGNAME is replaced with the name of the invoking user, which SD
reads from the system password file.
If you set the value of this option to HOME/path, SD replaces HOME with the invoking
user’s home directory (from the system password file) and resolves path relative to that
directory. For example,
HOME/my_admin
resolves to the my_admin directory in
your home directory.
If you set the value of the
installed_software_catalog
default option to a
relative path, that path is resolved relative to the value of this option.
SD’s nonprivileged mode is intended only for managing applications that are specially
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 Distributor
Administration Guide, available at the
http://docs.hp.com web site.
See also the
installed_software_catalog
and run_as_superuser options.
allow_large_files=false
Determines whether modification of files with a size greater than or equal to 2 gigabytes is
allowed. In the default state of false, this option tells swmodify to not allow files with
a size greater than or equal to 2 gigabytes to be modified.
When set to true, this option tells swmodify to permit files with a size greater than or
equal to 2 gigabytes to be modified. If the files are in a depot, then the depot can only be
used by the December 2005 OEUR (HP-UX 11i v2) version of SD and newer versions of SD
on HP-UX 11i v1, HP-UX 11i v2, and future releases.
This version of SD supports a large file up to 2 terabytes (2048 gigabytes)
compress_index=false
Determines whether SD commands create compressed INDEX and INFO catalog files when
writing to target depots or roots. The default of false does not create compressed files.
When set to true, SD creates compressed and uncompressed INDEX and INFO files. The
compressed files are named INDEX.gz and INFO.gz, and reside in the same directories
as the uncompressed files.
Compressed files can enhance performance on slower networks, although they may
increase disk space usage due to a larger Installed Products Database and depot catalog.
SD controllers and target agents for HP-UX 11.01 and higher automatically load the
compressed INDEX and INFO files from the source agent when:
The source agent supports this feature.
INDEX.gz or INFO.gz exist on the source depot.
INDEX.gz or INFO.gz are not older than the corresponding uncompressed INDEX or
INFO files.
The uncompressed INDEX or INFO le is accessed by the source agent if any problem
occurs when accessing, transferring, or uncompressing the INDEX.gz or INFO.gz file.
494 Hewlett-Packard Company 4 HP-UX 11i Version 2: December 2007 Update