Software Distributor Administration Guide (March 2009)

Table Of Contents
[command.]option=value
The optional command is the name of a SD-UX command. Specifying a command
name changes the default behavior for that command only. A period must follow
a command name.
option is the name of the default option. An equals sign must follow the option
name.
value is one of the allowable values for that option.
NOTE: You must restart the SD-UX daemon after changing swagentd options, or the
daemon will not recognize the changes. To restart the daemon, type:
/usr/sbin/swagentd -r
1.4.3.1 Examples
To change the default value of use_alternate_source to true for all users for all
future sessions for all commands to which the option applies, place the following line
in the /var/adm/sw/defaults file:
use_alternate_source=true
To change the default value of use_alternate_source to false for your own
invocations of the command, place the following line in your $HOME/.swdefaults
file:
swinstall.use_alternate_source=false
To start an interactive swinstall session using the options stored in
my_install_defaults to override any system-wide or personal defaults file values:
swinstall -i -X my_install_defaults=true
To start an interactive install session and reset the use_alternate_source default
for this session only:
swinstall -i -x use_alternate_source
See Appendix A (page 299) for a complete listing of defaults and their values and
descriptions.
CAUTION: Changing the default values for command options can cause harmful
results if you specify inappropriate values.
1.4.4 Session Files
Before any SD-UX task starts, the system automatically saves the current command
options, source information, software selections, target selections, etc., into a session
file. You can then re-use this session information at a later time, even if the command
fails.
1.4 Working from the Command Line 51