swreg.1m (2012 03)
s
swreg(1M) swreg(1M)
• 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.
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
run_as_superuser
option.
distribution_target_directory=/var/spool/sw
Defines the location of the depot object to register if no objects are specified and the
-l
option is specified.
level= Defines the default level of objects to register or unregister. The valid levels are:
depot Depots which exist at the specified target hosts.
root All alternate roots.
shroot All registered shared roots (HP-UX 10.X only) .
prroot All registered private roots (HP-UX 10.X only) .
log_msgid=0
Adds numeric identification numbers at the beginning of SD logfile messages:
0 (default) No identifiers are attached to messages.
1 Adds identifiers to ERROR messages only.
2 Adds identifiers to ERROR and WARNING messages.
3 Adds identifiers to ERROR, WARNING, and NOTE messages.
4 Adds identifiers to ERROR, WARNING, NOTE, and certain other informational mes-
sages.
logfile=/var/adm/sw/swreg.log
Specifies the default command log file for the swreg command.
logdetail=false[true]
The logdetail option controls the amount of detail written to the log file. When set to
true, this option adds detailed task information (such as options specified, progress
statements, and additional summary information) to the log file. This information is in
addition to log information controlled by the loglevel option. See the sd(5) man page
for additional information by typing man5sd.
loglevel=1
Controls the log level for the events logged to the command logfile, the target agent
logfile, and the source agent logfile. This information is in addition to the detail con-
trolled by the logdetail option. (See also logdetail.) A value of:
0 provides no information to the logfile.
1 enables verbose logging to the logfiles.
2 enables very verbose logging to the logfiles.
lookupcache_timeout_minutes=10
Controls the time in minutes to cache and re-use the results of hostname or IP address
resolution lookups. A value of 0 disables the facility to cache and re-use lookup results.
The maximum value allowed is 10080 minutes, which is one week.
A value of:
0 disables the lookup caching mechanism.
10080 is the maximum value allowed.
objects_to_register=
Defines the default objects to register or unregister. There is no supplied default (see
distribution_target_directory above). If there is more than one object, they
must be separated by spaces.
return_warning_exitcode=false
This option controls the exit code returned by SD’s controller commands. This option is
applicable only for a single target operation, and ignored when multiple targets are used.
HP-UX 11i Version 3: March 2012 − 3 − Hewlett-Packard Company 3