Configuring the Jamf Pro Server Tools CLI

Technical Articles

Solution
Application
Content Type
Technical Documentation
Utilities & Services
ft:locale
en-US

In a default installation of the Jamf Pro Server Tools, the database information from Step 3 is already set to a default value in the CLI configuration.

  1. For Linux servers, execute the following command to return the current configuration:
    jamf-pro config list
  2. For Windows, all the jamf-pro commands must be executed from inside the directory where the executable is stored. To navigate to the correct directory, execute the following command in Command Prompt:
    cd C:\Program Files\JSS\bin
  3. In the returned configuration example above, the default database name is jamfsoftware, and the default database user is jamfsoftware as well. If the database name and database user information returned do not match what was displayed in the DataBase.xml file in Step 3, change the needed setting by executing commands similar to the following examples:
    jamf-pro config set --database-name db_name_from_database_xml
    jamf-pro config set --database-user db_username_from_database_xml
    Note:

    Replace the example text in the above commands, db_name_from_database and db_username_from_database, with the actual name and username from your database.

  4. In the returned configuration example above, the database user's password was not defined, instead showing as <not configured>. Specify the database user's password before continuing. This password was identified in Step 3 via the DataBase.xml. Configure the password by executing the following command:
    jamf-pro config set --database-password
  5. When prompted, enter your database password.
  6. Now that the password is set, execute the following command to make sure everything is configured correctly:
    jamf-pro config list

    The value for the database password should now show as <configured>. The database name and database user should match what is found in the DataBase.xml file. If what is returned in the list does not match the current system settings from the DataBase.xml file in Step 3, adjust the needed settings so that the tool will operate correctly and perform the conversion.