Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Software Distributor Administration Guide: HP-UX 11i v1, 11i v2, and 11i v3 > Chapter 12 Nonprivileged SD

Alternative Configuration

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

An alternative configuration of nonprivileged mode sets up user-installed software catalogs in each user’s home directory. You can use the admin_directory option in /var/adm/sw/defaults to indicate a path beginning with HOME or /HOME, so that the default administration directory used by SD-UX during nonprivileged mode is in each user’s home directory. (A value of HOME/.sw works well for this purpose.)

Individual users can override this in their $HOME/.swdefaults file or on the command line.

Setting the Admin Directory Option

This option lets you specify the location for logfiles and the default parent directory for the installed software catalog. Values are as follows:

admin_directory=/var/adm/sw (for normal mode)

admin_directory=/var/home/LOGNAME/sw (for nonprivileged mode)

The default value is /var/adm/sw for normal operations. For nonprivileged mode (that is, when the run_as_superuser option is set to true):

  • The default value is forced to /var/home/LOGNAME/sw.

  • The path element LOGNAME is replaced with the name of the invoking user, which SD-UX reads from the system password file.

  • If you set the value of this option to HOME/path, SD-UX replaces HOME with the invoking user’s home directory (from the system password file) and resolves path relative to that directory.

    For example, if you specified HOME/my_admin for this options, the location would resolve to the my_admin directory in your home directory.

This option applies to swinstall, swcopy, swremove, swconfig, swverify, swlist, swreg, swacl, swpackage, swmodify.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1997, 2000-2003, 2006, 2007, 2008 Hewlett-Packard Development Company, L.P.