Using the install.sh shell script to update packages

The Centrify agent installation script, install.sh, is a shell script that you can run interactively or configure to run silently on any supported UNIX, Linux, or Mac OS X computer.

You can use the install.sh shell script to upgrade any installed Centrify software except the isolation and encryption service and Centrify sudo. If you have the isolation and encryption service installed on a managed computer, you should stop the service prior to upgrading the Centrify agent. You can then upgrade the isolation and encryption service after you have upgraded the Centrify agent and other packages. The isolation and encryption service and the Centrify agent should be kept synchronized at the same version level.

If you have the Centrify sudo package, you can upgrade the package before or after you upgrade the Centrify agent and other packages.

To use the install.sh script interactively:

  1. Unzip and extract the contents of the file you downloaded from the Centrify Customer Download Center. For example:

    gunzip centrify-infrastructure-services-<release>-platform-arch.tgz
    tar -xvf centrify-infrastructure-services-<release>-platform-arch.tar
  2. Run the install.sh script to start the update on the local computer’s operating environment. For example:

    ./install.sh

    The installer checks that it is possible to update Centrify software on the local computer. For example, it will check that the computer is a supported platform and that any required patches are installed. For more information about the ADCheck diagnostic tool, see the Planning and Deployment Guide.

  3. Specify the type of upgrade you want to perform.

    • (E) option: This option upgrades Centrify Authentication Service, Privilege Elevation Service, and Audit & Monitoring Service access control, privilege management, secure shell, and auditing features. Any other Centrify packages you have installed are unchanged as long as they are compatible with the version being upgraded.
    • (S) option: This option upgrades Centrify Authentication Service, Privilege Elevation Service, and Audit & Monitoring Service access control, privilege management, and secure shell (Centrify-enabled OpenSSH) features. Any other Centrify packages you have installed are unchanged as long as they are compatible with the version being upgraded.
    • Custom (C) option: This option allows you to select the Centrify packages located in the current directory and choose whether to erase (E), update (U), reinstall (R), keep unchanged (K) each package. If there is a package available for which there is no corresponding version already installed, you can choose to install the package.
    • (X) option: This option installs or upgrades the access control and privilege management components as unlicensed Centrify Express components.

    If you want to install or upgrade additional packages such as the Centrify Network Information Service (adnisd) or the Centrify LDAP proxy service, you should use the custom install option and select the packages to install.