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

s
swacl(1M) swacl(1M)
rpc_binding_info=ncacn_ip_tcp:[2121] ncadg_ip_udp:[2121]
Defines the protocol sequence(s) and endpoint(s) on which the daemon listens and which the
other commands use to contact the daemon. If the connection fails for one protocol
sequence, the next is attempted. SD supports both the tcp (
ncacn_ip_tcp:[2121]
)
and udp (
ncadg_ip_udp:[2121]
) protocol sequence on most platforms.
rpc_timeout=5
Relative length of the communications timeout. This is a value in the range from 0 to 9 and
is interpreted by the DCE RPC. Higher values mean longer times; you may need a higher
value for a slow or busy network. Lower values will give faster recognition on attempts to
contact hosts that are not up, or are not running
swagentd. Each value is approximately
twice as long as the preceding value. A value of 5 is about 30 seconds for the
ncadg_ip_udp protocol sequence. This option may not have any noticeable impact when
using the ncacn_ip_tcp protocol sequence.
run_as_superuser=true
This option controls SD’s nonprivileged mode. This option is ignored (treated as true) when
the invoking user is super-user.
When set to the default value of true, SD operations are performed normally, with permis-
sions 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 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
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 con-
trol 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 typ-
ing 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 exam-
ple, /etc/rc.config.d/LANG, must be set to LANG=ja_JP.SJIS or
HP-UX 11i Version 2: December 2007 Update 5 Hewlett-Packard Company 413