Updating Privilege Management for Unix and Linux with Update Depots

The Privilege Management for Unix and Linux HP-UX package installer can be used to update an existing Privilege Management for Unix and Linux installation to a new version. The existing Privilege Management for Unix and Linux version should have been installed using the Privilege Management for Unix and Linux package installer.

Update Depot Considerations

Installing a Privilege Management for Unix and Linux update depot is similar to using the HP-UX package installer to install Privilege Management for Unix and Linux for the first time. Keep these considerations in mind when you prepare to upgrade Privilege Management for Unix and Linux:

  • A Privilege Management for Unix and Linux HP-UX update depot contains a complete Privilege Management for Unix and Linux installation, not just the files that have changed since the previous release.
  • Each Privilege Management for Unix and Linux update depot is cumulative; that is, it includes all previous update filesets that BeyondTrust released since the baseline version. Therefore, there is no need to install the previous update depots.
  • A newer release can introduce features that use new settings or configurations. In which case, an upgrade of the configuration package of Privilege Management for Unix & Linux is also needed.

Unlike Privilege Management for Unix and Linux patches that are installed with pbpatchinstall, update filesets cannot be rolled back to a previous release. However, you can install an older fileset over a newer one, effectively rolling back to the older release.

Update Depot Procedure

Follow this procedure to update your installation of Privilege Management for Unix and Linux using the update depots:

  1. Obtain the tarball file for the HP-UX update depots that are appropriate for your hardware. The tarball file name has the format pmul_<flavor>-v.v.r-bb-update_pkg.tar.Z, where:
    • <flavor> indicates the operating system and hardware architecture.
    • v.v.r is the major and minor version number and the release number.
    • bb is the build number.
  1. Extract the depot files into the /opt/beyondtrust/ directory by executing the following command:
    tar xvfz pmul_<flavor_version>-update_pkg.tar.Z
  1. Navigate to the /opt/beyondtrust/powerbroker/v<version>/<flavor>/install/ directory
  2. Create the settings_files directory and change directory to that location.
  3. To retain or correctly update the settings of the current installation, copy the following files from the target installation host into the settings_files directory you created in step 4:
    • /etc/pb.settings
    • /etc/pb.cfg
    • encryption keys defined in pb.settings for networkencryption, eventlogencryption, iologencryption, reportencryption, policyencryption, and restkeyencryption settings (if enabled)

      Note: In a default installation, there are typically 2 key files created: pb.key and pb.rest.key

    • policy file defined in policyfile setting in pb.settings (if the target installation is a Policy Server)

      Note: In a default installation, the policy file is located in /opt/pbul/policies/pb.conf

  1. Execute the following command to verify and update the installation settings in the settings_files directory:
  2. ./pbinstall -z
  1. Create the upgrade configuration package by running the pbcreatehpuxcfgpkg utility:
  2. pbcreatehpuxcfgpkg -p fileset-name

    Use the current fileset-name of the installation to be upgraded. Use the fileset-name you provided during the initial package installation in step 8 of the Installation Procedure .

    Another way to find the fileset-name is to run the following command on the target installation host to get the list of packages installed:

    swlist PowerBroker\*

    Identify the fileset-name of the Privilege Management for Unix and Linux configuration package using this format:

    PowerBroker-Cfg.<fileset-name>
  1. Navigate to the directory: /opt/beyondtrust/powerbroker/version/flavor/package/
  2. Run the HP-UX swcopy utility to copy the Privilege Management for Unix and Linux component depot to the desired SD depot by typing:
    swcopy -s /path/PowerBroker-arch.depot PowerBroker-arch.FILESET [@ sd-directory]
  3. This is the absolute path to the directory that contains the Privilege Management for Unix and Linux component depot.

    arch is the target platform architecture.

    FILESET is the specific fileset to be copied. Alternatively, use \* instead of PowerBroker-arch.FILESET to copy all filesets.

    sd-directory is the desired SD directory. If you omit @ sd-directory, the default /var/spool/sw is used.

  1. Navigate to the /unzip-dir/powerbroker/version/flavor/install/ directory.
  2. Run the HP-UX swcopy utility to copy the Privilege Management for Unix and Linux configuration fileset to the desired SD depot:
    # swcopy -s /<cfgdepotdir>/PowerBroker-Cfg-<ver>.<filesetname>.depot  PowerBroker-Cfg.<filesetname>
  1. Run the HP-UX swinstall utility to install the Privilege Management for Unix and Linux component filesets by typing: swinstall PowerBroker-arch.
  2. Verify the installation of the filesets with the HP-UX swverify utility by typing: swverify PowerBroker-arch.

Revert to a Previous Version

Unlike Privilege Management for Unix and Linux patches that are installed with pbpatchinstall, update depots cannot be rolled back to a previous release. However, you can install an older fileset over a newer one, effectively rolling back to the older release. To install older filesets over newer ones, use the following command:

swinstall -x allow_downdate=true PowerBroker-arch

This command restores the previous release. Repeat the command to restore earlier releases.