swremove.1m (2010 09)

s
swremove(1M) swremove(1M)
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://www.hp.com/go/hpux-
core-docs web site.
See also the
admin_directory
and installed_software_catalog options.
run_scripts=true
Controls whether or not control scripts are run during a remove session. (See above for
the list of control scripts typically run during swremove.) Control scripts provide
important cleanup when software is removed. Setting this to false may result in some
manual cleanup being required.
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.
software_view=products
Indicates the software view to be used by the Interactive UI of the controller. It can be
set to
products, all_bundles, or a bundle category tag to indicate to show only bun-
dles of that category.
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 removal of files from a remote (NFS) file system. When set to false, files
on a remote file system are not removed.
If set to
true and if the superuser has write permission on the remote file system, the
remote files are removed.
Session File
Each invocation of
swremove defines a task session. The command automatically saves options, source
information, software selections, and target selections before the task actually commences. This lets you
re-execute the command even if the session ends before the task is complete. You can also save session
information from interactive or command-line sessions.
Session information is saved to the file
$HOME/.sw/sessions/swremove.last. This file is
overwritten by each invocation of the command. The file uses the same syntax as the defaults files.
From an interactive session, you can save session information into a file at any time by selecting the Save
Session or Save Session As option from the File menu.
HP-UX 11i Version 3: September 2010 9 Hewlett-Packard Company 9