HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)
s
swask(1M) swask(1M)
0 No such identifiers are prepended (default).
1 Applies to ERROR messages only.
2 Applies to ERROR and WARNING messages.
3 Applies to ERROR, WARNING, and NOTE messages.
4 Applies to ERROR, WARNING, NOTE, and certain other log file messages.
logdetail=false
Controls the amount of detail written to the logfile. When set to
true, this option adds
detailed task information (such as options specified, progress statements, and additional
summary information) to the logfile. This information is in addition to log information con-
trolled by the
loglevel option.
See loglevel below and the sd(5) manual page, by typing
man 5 sd, for more infor-
mation.
logfile=/var/adm/sw/swask.log
Defines the default log file for
swask.
loglevel=1
Controls the log level for the events logged to the command logfile and the target agent
logfile. A value of
0 provides no information to the logfile.
1 enables verbose logging of key events to the log files.
2 enables very verbose logging, including per-file messages, to the log files.
patch_filter=*.*
Used in conjunction with the autoselect_patches
or patch_match_target
options to filter the available patches to meet the criteria specified by the filter. A key use
is to allow filtering by the "category" attribute. Requires patches that are in an enhanced
SD patch format.
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 and installed_software_catalog
options.
verbose=1
Controls the verbosity of the output (stdout):
0 disables output to stdout. (Error and warning messages are always written to stderr).
1 enables verbose messaging to stdout.
Session Files
Each invocation of swask defines a task session. The invocation options, source information, software
selections, and target hosts are saved before the task actually commences. This lets you re-execute the
command even if the session ends before proper completion.
Each session is saved to the file $HOME/.sw/sessions/swask.last. This file is overwritten by
each invocation of swask.
HP-UX 11i Version 2: December 2007 Update − 5 − Hewlett-Packard Company 437