Previous Topic: How to Install CA ControlMinder on Debian or Ubuntu LinuxNext Topic: customize_eac_deb Command—Customize .deb Package


Customize the CA ControlMinder .deb Package

Before you can install CA ControlMinder using a native package, you must customize the CA ControlMinder package to specify that you accept the license agreement. You can also specify custom installation settings when you customize a package.

You customize a package by extracting the installation parameters file from the package, modifying it as required, and then loading it back into the package. Some commands are available in the customization script so that you do not have to modify the parameters file.

Note: We recommend that you do not modify the package manually. Instead, use the script as described in the following procedure to customize the CA ControlMinder package.

Follow these steps:

  1. Locate the .deb package in the NativePackages directory of the CA ControlMinder Endpoint Components for UNIX DVD.
  2. Copy the .deb package to a temporary readable/writable location on your file system (pkg_location). Copy the customize_eac_deb file and the pre.tar file to the same location.

    The pre.tar file is a compressed tar file containing installation messages and the CA ControlMinder license agreement.

  3. Display the license agreement:
    customize_eac_deb -a [-d pkg_location] pkg_filename
    
  4. Take note of the keyword that appears at the end of the license agreement inside square brackets.

    You specify this keyword in the next step.

  5. Customize the CA ControlMinder package to specify that you accept the license agreement:
    customize_eac_deb -w keyword [-d pkg_location] pkg_filename
    
  6. (Optional) Set the language of the installation parameters file:
    customize_eac_deb -r -l lang [-d pkg_location] pkg_filename
    
  7. (Optional) Upgrade from an eTrust Access Control r8 SP1 package:
    customize_eac_deb -u install_prefix [-d pkg_location] pkg_filename
    
  8. (Optional) Change the default encryption files:
    customize_eac_deb -s -c certfile -k keyfile [-d pkg_location] pkg_filename
    
  9. (Optional) Change the target installation directory to target_location:
    customize_eac_deb -i target_location [-d pkg_location] pkg_filename
    

    The default installation location is /opt/CA/.

  10. (Optional) Configure other custom defaults for the package. Get the installation parameters file and save it as tmp_params:
    customize_eac_deb -g -f tmp_params [-d pkg_location] pkg_filename
    
    1. Edit the installation parameters file tmp_params to suit your installation requirements. For example, activate the POSTEXIT setting (remove the preceding # character) and point it to a post-installation script file you want to run.
    2. Assign the customized installation parameters to your customized package:
      customize_eac_deb -s -f tmp_params [-d pkg_location] pkg_filename
      

    You can now use the package to install CA ControlMinder with your customized default settings.

Example: Specify That You Accept the License Agreement

To accept the license agreement when installing a native package, you customize the package. The following example shows how you customize the 64-bit CA ControlMinder deb package to accept the license agreement. You find the package on the CA ControlMinder Endpoint Components for UNIX DVD which, in this example, is mounted to /mnt/AC_DVD.

cp /mnt/AC_DVD/NativePackages/_LINUX_X64_DEB_PKG_128.tar.Z /tmp
cp /mnt/AC_DVD/NativePackages/pre.tar /tmp
cd /tmp
zcat _LINUX_X64_DEB_PKG_128.tar.Z | tar -xvf - 
chmod 777 caeac*.deb 
/mnt/AC_DVD/NativePackages/customize_eac_deb -w keyword 
    -d /tmp 128sp1-123_amd64.deb

You can now use the customized package to install CA ControlMinder.