swconfig.1m (2011 09)

s
swconfig(1M) swconfig(1M)
for the ncadg_ip_udp 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://www.hp.com/go/sd-docs
web site.
See also the
admin_directory
and installed_software_catalog options.
select_local=true
If no target_selections are specified, select the local host as the target of 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.
write_remote_files=false
Prevents the configuring of files on a target which exists on a remote (NFS) filesystem.
All files on a remote filesystem will be skipped.
If set to
true and if the superuser has write permission on the remote filesystem, the
remote files will not be skipped, but will be configured.
Session File
Each invocation of the
swconfig command defines a configuration session. The invocation options,
source information, software selections, and target hosts are saved before the installation or copy task
actually commences. This lets you re-execute the command even if the session ends before proper comple-
tion.
Each session is automatically saved to the file
$HOME/.sw/sessions/swremove.last
. This file is
overwritten by each invocation of
swconfig.
You can also save session information to a specific file by executing
swconfig with the -C session_file
option.
A session file uses the same syntax as the defaults files. If you do not specify a specific path for the ses-
sion file, the default location is
$HOME/.sw/sessions/.
To re-execute a session file, specify the session file as the argument for the
-S session_file option of
swconfig.
Note that when you re-execute a session file, the values in the session file take precedence over values in
the system defaults file. Likewise, any command line options or parameters that you specify when you
HP-UX 11i Version 3: September 2011 9 Hewlett-Packard Company 9