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

s
swacl(1M) swacl(1M)
[command_name.]option=value
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 section lists all of the keywords supported by the
swacl command. If a default value exists,
it is listed after the
=.
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. You cannot use this mode 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.
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 application. 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
specially designed and packaged. You cannot use this mode to manage the HP-UX operat-
ing 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.)
level= Defines the level of SD ACLS to view/modify. The supported levels are: host, depot,
root, product, product_template, global_soc_template,or
global_product_template.
See the discussion of the -l option above for more information.
412 Hewlett-Packard Company 4 HP-UX 11i Version 2: December 2007 Update