swacl.1m (2012 03)

s
swacl(1M) swacl(1M)
When set to the default value of true, SD operations are performed normally, with per-
missions for operations either granted to a local super-user or set by SD ACLs. (See
swacl(1M) for details on ACLs.)
When set to false and the invoking user is local and is not super-user, nonprivileged
mode is invoked:
Permissions for operations are based on the user’s file system permissions.
SD ACLs are ignored.
Files created by SD have the uid and gid of the invoking user, and the mode of created
files is set according to the invoking user’s umask.
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 sys-
tem 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.
See also the
admin_directory
and installed_software_catalog
options.
select_local=true
If no target_selections are specified, select the default
target_directory
of the local
host as the target_selection for the command.
software=
Defines the default software_selections. There is no supplied default. If there is more
than one software selection, they must be separated by spaces.
targets=
Defines the default target_selections. There is no supplied default (see
select_local
above). If there is more than one target selection, they must be separated by spaces.
verbose=1
Controls the verbosity of the output (stdout). A value of:
0 disables output to stdout. (Error and warning messages are always written to
stderr).
1 enables verbose messaging to stdout.
Environment Variables
SD programs are affected by external environment variables, set environment variables for use by the
control scripts, and use other environment variables that affect command behavior.
The external environment variable that affects the swacl command is:
LANG Determines the language in which messages are displayed. If LANG is not specified or
is set to the empty string, a default value of C is used. See the lang (5) man page by
typing
man 5 lang for more information.
Note: The language in which the SD agent and daemon log messages are displayed is
set by the system configuration variable script,
/etc/rc.config.d/LANG.For
example, /etc/rc.config.d/LANG, must be set to LANG=ja_JP.SJIS
or
LANG=ja_JP.eucJP to make the agent and daemon log messages display in
Japanese.
LC_ALL Determines the locale used to override any values for locale categories specified by the
settings of LANG or any environment variables beginning with LC_.
LC_CTYPE Determines the interpretation of sequences of bytes of text data as characters (for
example, single versus multibyte characters in values for vendor-defined attributes).
LC_MESSAGES
Determines the language in which messages are written.
LC_TIME Determines the format of dates (create_date and mod_date ) when displayed by
swlist. Used by all utilities when displaying dates and times in stdout, stderr,
and logging.
TZ Determines the time zone for use when displaying dates and times.
6 Hewlett-Packard Company 6 HP-UX 11i Version 3: March 2012