Software Distributor Administration Guide for HP-UX 11i
Nonprivileged SD
Setting Up Nonprivileged Mode
Chapter 12416
Setting Up Nonprivileged Mode
Nonprivileged SD is controlled by two options:
• admin_directory
• run_as_superuser
The run_as_superuser option turns nonprivileged mode on or off and is
all that is necessary to run the default configuration. (See “Turning On
Nonprivileged Mode” on page 417 and “Default Configuration” on
page 418.)
The admin_directory option lets you set up an alternative
configuration. (See “Alternative Configuration” on page 419.)
Packaging Software for Use in Nonprivileged Mode
In addition to these options, software applications to be used under
nonprivileged mode have special packaging requirements.
For nonprivileged mode to function:
• You must package applications and install them so that the files are
installed in locations writable by the user who will install the
applications. This can be done by:
— Using the directory keyword in the PSF during packaging
— By appending a location to the software specifications when
you invoke a command from the command line. (See “Software
Selections” on page 56.)
• Scripts packaged into the application must be designed not to require
super-user privilege.