Configuring Preferences with the Command Line

You can manually read and write Jamf Connect preferences by using the defaults command on macOS.

Notes:

  • Commands should be executed as the root user or with the sudo command.

  • The defaults command will not show preferences set by an MDM solution.

Reading Preferences

Execute the following commands to print preferences for Jamf Connect apps in your environment:

sudo defaults read sudo defaults read /Library/Preferences/com.jamf.connect.login.plist

sudo defaults read com.jamf.connect.sync

sudo defaults read com.jamf.connect.verify

Writing Preferences

Preferences can also be written in the command line with the defaults write command. The following are examples of commands how you can execute to set Jamf Connect preferences.

Command

Description

defaults write /Library/Preferences/com.jamf.connect.login.plist EnableFDE 1

Enables FileVault during user creation with Jamf Connect Login

defaults write com.jamf.connect.sync HidePreferences 1

Hides the Preferences menu item from Jamf Connect Sync

defaults write com.jamf.connect.verify SelfServicePath "Applications/YouApp.app"

Defines a custom path for a self service tool in the Jamf Connect Verify menu

Copyright     Privacy Policy     Terms of Use     Security
© copyright 2002-2020 Jamf. All rights reserved.