Linux Installation Guide

Last modified on August 26, 2022

Overview

This guide describes how to install strongDM on your Linux machine. In a Linux environment, strongDM consists of a command-line interface (CLI). You may be able to run some CLI commands without a complete installation. If you wish to use strongDM in this way, check the Run Without Installation section.

Install strongDM

Use the following steps to install strongDM on your Linux machine. The desktop application is not currently available for Linux.

  1. Open the invitation email you received for your strongDM account.

  2. Click the link included in the email to set your password.

  3. Log in to strongDM and go to the Download & Install page in the Admin UI.

  4. Click Download strongDM for Linux to start the download. When you click to show all download options, you can choose different downloads based on your architecture. We will use the curl method to complete the download. Open a terminal and download the Linux binary:

    curl -J -O -L https://app.strongdm.com/releases/cli/linux
    
  5. Optionally, check that the downloaded binary is legitimate and verify the checksum:

    $ sha256sum sdmcli_35.3.0_linux_amd64.zip
    3c0bd7ede828b93b3dfbd243330d4f7ee531c95940adc108bd3e53680dc81fb3 sdmcli_35.3.0_linux_amd64.zip
    

    The checksum should match the value in the SHA256 Checksum section of the Admin UI.

    strongDM SHA256 Checksums
    strongDM SHA256 Checksums
  6. Unzip the file:

    unzip sdmcli_<VERSION_NUMBER>_linux_amd64.zip curl -J -O -L
    
  7. Follow instructions provided by the install command, which must be executed using sudo:

    sudo ./sdm install
    

    If you have any issues, consider the following:

    • The installer must be run by a user that exists in the /etc/passwd file. Any users remotely authenticated, such as with LDAP or an SSO service, may fail to complete the installation.
    • If you are installing with Fedora Linux, use the -E flag to preserve the user environment. This is necessary due to the way Fedora handles sudo.
    • If you are attempting to set up a relay, see Relays.
  8. After executing sdm install, you can find strongDM in /opt/strongdm and a symlink to the binary in /usr/local/bin. Next, ensure that the sdm binary is usable from the command line:

    sdm --version
    
  9. Go to the CLI Tour to learn how to connect to different resources, such as datasources and servers.

Run Without Installation

Once you have downloaded and unzipped strongDM, you can run certain commands without completing a full installation.

For instance, to run audit or admin commands, you can provide an admin token in the SDM_ADMIN_TOKEN environment variable. However, connecting to datasources or servers requires a running SDM daemon, so we suggest running the full installation:

curl -J -O -L https://app.strongdm.com/releases/cli/linux

The output is similar to:

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                Dload  Upload   Total   Spent    Left  Speed
100   128  100   128    0     0    384      0 --:--:-- --:--:-- --:--:--   384
100 6733k  100 6733k    0     0  2896k      0  0:00:02  0:00:02 --:--:-- 3435k
curl: Saved to filename 'sdmcli_1.1.19_linux_amd64.zip'
$ unzip sdmcli_1.1.19_linux_amd64.zip
Archive:  sdmcli_1.1.19_linux_amd64.zip
  inflating: sdm
$ export SDM_ADMIN_TOKEN=<token here>
$ ./sdm audit users
User ID,Email,First Name,Last Name,Role ID,strongDM Permission,Role Name
1111,user1@organization.com,User,One,0,user,,{},[],0
2222,user2@organization.com,User,Two,,10011,admin,Engineers,{},[],0
3333,user3@organization.com,User,Three,10011,admin,Engineers,{},[],0

If any errors occur or if the installation fails in any way, please contact support@strongdm.com for assistance.

Top