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
HP-UX System Administrator's Guide: Security Management: HP-UX 11i Version 3 > Chapter 7 Compartments

Activating Compartments

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

To activate compartment rules on the system, follow these steps:

  1. Plan the compartment rules. See Section  for more information.

    TIP: HP recommends you plan the compartment rules configuration carefully. After you have edited the configuration and implemented it on a production system, it becomes difficult to change. When you change a compartment configuration, you must make changes to user procedures, scripts, and tools.
  2. Create compartment rules. See Section  for instructions on completing this step and for a complete description of compartment rules syntax.

  3. (Optional) Preview the compartment rules by entering the following command:

    # setrules -p

    The -p option parses the configured rules list and reports any discrepancies in syntax and semantics. HP recommends that you follow this step before enabling compartment rules on the system.

  4. (Optional) Make backup copies of the compartment configuration files. Either put these files outside the /etc/cmpt directory or omit the .rules suffix. Doing this lets you easily revert to the starting point if an editing problem occurs.

  5. Enable the compartments feature by entering the following command:

    # cmpt_tune -e

  6. Reboot the system. This step is mandatory.

TIP: Keep the backup files; this makes it easier to revert to a prior configuration.
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2008 Hewlett-Packard Development Company, L.P.