HP-UX Reference (11i v2 07/12) - 1M System Administration Commands N-Z (vol 4)
s
swinstall(1M) swinstall(1M)
as long as the preceding value. A value of 5 is about 30 seconds for the
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
and installed_software_catalog options.
run_scripts=true
(Applies only to swinstall .) Controls whether or not control scripts are run during an
install session. (See above for the list of control scripts typically run during swinstall.)
Control scripts are an important part of software packages and setting this to false may
keep software from being installed correctly.
select_local=true
If no target_selections are specified, select the default root directory
/ (swinstall ), or
the default
target_directory
(swcopy), at the local host as the target of the com-
mand.
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=all_bundles
Indicates the software view to be used as the default level for the software listing in the
GUI. It can be set to
all_bundles , products, or a bundle category tag (to indicate to
show only bundles of that category).
source=
Specify a source to automatically bypass the GUI and CLI source selection dialog box. This
has the same effect as the -ssource command line option. Specify the source using the fol-
lowing syntax.
[path]
source_cdrom=/SD_CDROM
Defines the default location of the source CD-ROM using the syntax [host]:[path].
source_tape=/dev/rmt/0m
Defines the default location of the source tape, usually the character-special file of a local
tape device. You can also use the [host]:[path] syntax, but the host must match the local
host. The -s option overrides this value. (Note that SD can read both tar and cpio
tape depots.)
source_type=directory
Defines the default source type: cdrom, directory ,ortape. The source type derived
from the -s option overrides this value. (SD can read both tar and cpio tape depots.)
targets=
Defines the default target_selections. There is no supplied default (see select_local
466 Hewlett-Packard Company − 15 − HP-UX 11i Version 2: December 2007 Update