Previous Topic: customize_eac_pkg Command—Customize Solaris Native Package

Next Topic: HP-UX Native Package Installation


convert_eac_pkg—Configure Solaris Native Installation

The default Solaris pkgadd behavior is determined by an installation administration file. To override default settings, you need to change the installation administration file (by default, /var/sadm/install/admin/default). For example, the CA Access Control package installs setuid executables and, optionally, lets you run a post-installation script (which will run as root). The default Solaris pkgadd behavior is to prompt you to confirm these operations.

Note: You can edit the installation administration file to change pkgadd installation defaults. You can then use the modified file for specific installations, such as CA Access Control, using the pkgadd -a option. However, this file is not specific to CA Access Control.

This command has the following format:

convert_eac_pkg -c [-d pkg_location] [pkg_name]
convert_eac_pkg -p [-f file]
-c

Converts an old-format package to the new format.

Note: Old-format packages were used in CA Access Control r8 SP1. You need to convert these before you upgrade.

You can convert information for an installed CA Access Control package or a spooled package. For a spooled package, use the -d option to indicate where the package is located.

-d pkg_location

Defines the directory where you placed your package on the file system

pkg_name

Defines the name of the package (CAeAC by default).

-p

Prepares a custom package configuration file named

-f file

Defines the location where you want to create the CA Access Control installation administration file.

If not specified, the command creates a file called myadmin in the current directory.

Example: Configure Solaris Native Installation for a Silent Installation

The following procedure shows how you configure Solaris native installation so that it does not prompt you to confirm installing setuid executables or running a post installation script:

  1. Get a copy of the installation administration file to the current location:
    convert_eac_pkg -p
    

    This lets you modify the configuration settings for the CA Access Control native installation without affecting other installations.

  2. Edit the following settings in your package configuration file (myadmin) as shown:
    setuid=nocheck
    action=nocheck 
    

    Save the file.

  3. Customize the package.

    As a minimum, you need to specify that you accept the license agreement.

  4. Run the following command to install the customized CA Access Control package silently:
    pkgadd -n -a config_path\myadmin -d pkg_path CAeAC
    

Example: Upgrade a Solaris Native Installation that Uses an Old Format

The following procedure shows you how convert an existing installation of CA Access Control native package installation before you upgrade to a new release. To do this, run the following command:

convert_eac_pkg -c CAeAC