Deploy the Tanium Client to Solaris endpoints using a package file

On Solaris endpoints, the Tanium Client is installed as a system service. The Tanium Client files are installed by default in the /opt/Tanium/TaniumClient directory.

Tip: If your environment requires a different installation location for applications, you can create a symbolic link during installation.

The following procedures describe how to use the endpoint CLI to install the Tanium Client. For more information about using the CLI, see CLI on non-Windows endpoints.

For information about managing the Tanium Client service or uninstalling the Tanium Client after deployment, see Manage the Tanium Client on Solaris.

Prepare for installation

  1. Ensure that the endpoint meets the basic requirements for the Tanium Client on Solaris.
  2. Ensure that host and network firewalls are configured to allow inbound and outbound TCP traffic on the ports that the Tanium Client uses. For more information, see Network connectivity, ports, and firewalls.
  3. (Solaris 11.4 only) Install the legacy pkgadd utilities:
    1. Access the endpoint CLI.
    2. Find the pkgadd IPS package name:
      CODE
      pkg search pkgadd
      CODE
      INDEX       ACTION VALUE       PACKAGE
      basename   file                     usr/sbin/pkgadd pkg:/package/svr4@11.4-11.4.6.0.1.4.0
    3. Install the pkgadd utilities:
      CODE
      pkg install pkg:/package/svr4@11.4-11.4.6.0.1.4.0
  4. (Solaris 10 or 11.0–11.3 only) Install the SUNWgccruntime package if it is not yet installed.
    Note: Although this package is part of a default Solaris installation, some organizations omit it in their standard image.
    1. Determine whether the package is installed:
      CODE
      pkginfo -l SUNWgccruntime

      The following example output indicates the package is installed:

      CODE
      PKGINST:  SUNWgccruntime
      NAME:  GCC Runtime libraries
      CATEGORY:  system
      ARCH:  sparc
      VERSION:  11.11.0,REV=2010.05.25.01.00
      BASEDIR:  /
      VENDOR:  Oracle Corporation
      DESC:  GCC Runtime - Shared libraries used by gcc and other gnu components
      INSTDATE:  Dec 01 2015 11:43
      HOTLINE:  Please contact your local service provider
      STATUS:  completely installed
    2. If the SUNWgccruntime package is not yet installed, run one of the following commands:
      • Solaris 10 or 11.0–11.3 (without using Image Packing System [IPS]):

        # pkgadd -d /path/to/SUNWGccruntime.pkg SUNWgccruntime

      • Solaris 11.0–11.3 using IPS:

        # pkg install SUNWgccruntime

  5. Sign in to the target endpoint.
  6. Use the Tanium Client Management service to download the Client installer bundle to the Solaris endpoint. From the Client Management Overview page, click Download Installers > Download Solaris Package.

    The bundle (solaris-client-bundle.zip) contains the following files:

    • install.sh
    • TaniumClient-<version>-SunOS-5.10.i386.pkg.tar.gz
    • TaniumClient-<version>-SunOS-5.10.sparc.pkg.tar.gz
    • tanium‑init.dat
    Important:

    Be careful not to allow the tanium-init.dat file to be distributed or stored outside of your organization, such as in a publicly accessible source code repository or any other location accessible from the public internet. Limit the distribution to specific use in the deployment of Tanium Clients.

    Though this file does not contain private keys and cannot be used to provide control over a Tanium environment, a user with malicious intent could use it to connect an unapproved Client and use this unauthorized access to learn how your organization is using Tanium.

  7. Extract the files from the bundle, and copy the package files, tanium-init.dat, and, optionally, install.sh to a temporary directory on the endpoint. Make sure to keep the tanium‑init.dat file in the same directory as the package files.

Install the Tanium Client on Solaris using the command line

Tip: The install.sh file provides an example of a script that performs an installation of the Tanium Client. By default, the script checks for a supported version of Solaris, installs the appropriate Tanium Client package, and copies the tanium‑init.dat file. You can modify this script with CLI commands that configure the Tanium Client settings that are necessary for your environment. You can then use the modified script for automated deployment of the Tanium Client. To run the install.sh script, you must have root or sudo permissions.
  1. (Optional) To use a directory other than the default for the Client installation, create a symbolic link, and set the PKG_NONABI_SYMLINKS environment variable to true. For example, to use the directory /appbin/Tanium, run the following commands:
    CODE
    ln -s /appbin/Tanium /opt/Tanium
    PKG_NONABI_SYMLINKS=true
    export PKG_NONABI_SYMLINKS
    Important: You must install the Tanium Client on a local fixed drive.
  2. Run the following command from the temporary directory to install the package and generate a default configuration file:
    CODE
    sudo pkgadd -d ./TaniumClient‑<client_version>‑SunOS‑5.10‑<platform>.pkg TaniumClient

    Note: If you are signed into the Global Zone and want to install only in the current zone, specify the ‑G flag. If you have questions, consult your system administrator for proper zone behavior.

  3. Use the CLI (see CLI on non-Windows endpoints) to configure the following basic Tanium Client settings.

    ServerNameList

    Fully qualified domain names (FQDNs) from the Tanium Cloud Client Edge URLs with which the Client can connect, separated with commas.

    Typically, the tanium-init.dat file included with the installation package includes the appropriate FQDNs and you omit this argument. If you need to specify Server addresses manually, contact Tanium Support for the appropriate FQDNs.

    Tip: If you have arranged to use a custom port for Tanium Clients to communicate with Tanium Cloud, you can optionally set the port that the Tanium Client uses to communicate with Tanium Cloud by appending :<port_number> to the FQDNs (for example, taas-example1-zs.cloud.tanium.com:443,taas-example2-zs.cloud.tanium.com:443). The ServerNameList port values override the ServerPort setting for the Tanium Client (default is 17472).

    ServerPort

    The port that the Tanium Client uses for communication with Tanium Cloud and with peers. Do not change the default of 17472 unless you have arranged to use a custom port for Tanium Clients to communicate with Tanium Cloud or you are overriding this port specification in the ServerNameList setting for communication with Tanium Cloud. For more information, see ServerPort.

    LogVerbosityLevel

    The level of logging on the endpoint. The following values are best practices for specific scenarios:

    • 1 (default): Use this value during normal operation.

    • 41: Use this value during troubleshooting.

    • 91 or higher: Use this value for full logging, for short periods of time only.

    Note:

    A value of 0 disables logging. As a best practice, do not disable logging.

    Resolver

    Add the Resolver=nslookup setting to enable host name resolution.

    Note: For information about configuring additional settings, see Modify Client settings and Tanium Client settings reference.

    The following example commands are for a Tanium Cloud deployment:

    CODE
    cd <Tanium Client installation directory>
    sudo ./TaniumClient config set LogVerbosityLevel 1
    sudo ./TaniumClient config set Resolver nslookup
  4. Copy the tanium‑init.dat file to the Tanium Client installation directory on the Solaris endpoint.
  5. Run the following command to start the Tanium Client service:
    CODE
    svcadm enable taniumclient
  6. Wait a few minutes for the Tanium Client to register withTanium Cloud, and then verify that the Client installed correctly and is communicating properly.

Perform unattended Tanium Client installation

By default, the pkgadd utility performs a manual installation. The utility prompts for user intervention when it encounters operations that might be a security issue or conflict, such as running scripts with SUID, creating directories, or changing permissions. The utility provides a method to bypass these interventions and perform or abandon the installation. You accomplish this with a tanium.admin file, which contains operator identifiers and specifies what to do when the utility encounters security issues or conflicts.

  1. Create the tanium.admin file with the following contents:
    CODE
    mail=
    instance=overwrite
    partial=nocheck
    runlevel=nocheck
    idepend=nocheck
    rdepend=nocheck
    space=nocheck
    setuid=nocheck
    conflict=nocheck
    action=nocheck
    networktimeout=60
    networkretries=3
    authentication=quit
    keystore=/var/sadm/security
    proxy=
    basedir=default
  2. Run pkgadd with the ‑a option:
    CODE
    pkgadd ‑a tanium.admin ‑d ./TaniumClient‑<client_version>‑SunOS‑5.10‑<platform>.pkg TaniumClient

Configure the Tanium Client on Solaris

The Tanium Client binary has statically linked libraries. All the libraries are in the standard default location (/lib) except libstdc++ and gcc. These two libraries are assumed to be in /usr/sfw/lib. If they are not, the Client does not start. If libstdc++ and gcc are not in /usr/sfw/lib, you must add the library search path to the Service Management Facility (SMF) taniumclient service:

  1. Find the directory location of libgcc.* and libstdc++.*.
  2. Run the following command to add the search path to the SMF service:

    svccfg -s application/taniumclient setenv LD_LIBRARY_PATH /lib:/usr/lib:/usr/local/lib:/usr/sfw/lib