swreg.1m (2012 03)
s
swreg(1M) swreg(1M)
When set to the default value of
false, swreg returns:
0 If there were no errors, with or without warnings.
1 If there were errors.
When set to
true, swreg returns :
0 If there were no warnings and no errors.
1 If there were errors.
2 If there were warnings but no errors.
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.
See the sd(5) man page by typing
man5sdfor details on specifying this option.
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 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. This mode cannot be used 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 option.
select_local=true
If no target_selections are specified, select the default
distribution_target_directory of the local host as the target_selection for the
command.
targets=
Defines the default target hosts on which to register or unregister the specified root or
depot objects. 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 swreg 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.
4 Hewlett-Packard Company − 4 − HP-UX 11i Version 3: March 2012