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

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
s
swjob(1M) swjob(1M)
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. This mode cannot be used 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
option.
targets=
Defines the default target_selections. There is no supplied default. If there is more than
one target selection, they must be separated by spaces.
verbose=0
Controls the verbosity of the output (stdout). A value of
0 disablesoutput to stdout. (Error and warning messages are always written to stderr).
1 enables verbose messaging to stdout.
Session File
Each invocation of the swjob command defines a job display session. The invocation options, source infor-
mation, software selections, and target hosts are saved before the installation or copy task actually com-
mences. This lets you re-execute the command even if the session ends before proper completion.
Each session is automatically saved to the file
$HOME/.sw/sessions/swjob.last. This file is
overwritten by each invocation of
swjob.
You can also save session information to a specific file by executing swjob
with the -C session__file
option.
A session file uses the same syntax as the defaults files. You can specify an absolute path for the session
file. If you do not specify a directory, the default location for a session file is
HOME/.sw/sessions/.
To re-execute a session file, specify the session file as the argument for the -S session__file option of
swjob.
Note that when you re-execute a session file, the values in the session file take precedence over values in
the system defaults le. Likewise, any command line options or parameters that you specify when you
invoke swjob take precedence over the values in the session file.
Environment Variables
SD programs are affected by external environment variables.
SD programs that execute control scripts set environment variables for use by the control scripts. swjob
does not set environmental variables, but it uses them.
Environment variables that affect the SD commands:
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,
HP-UX Release 11i: December 2000 4 Section 1M891
___
___