Preferences with the defaults Command-Line Tool

You can manually read and write Jamf Connect preferences by using the defaults command-line tool in macOS.

Keep the following in mind:

  • 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.

defaults Read

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

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

defaults write

Preferences can be written in the command line with the defaults write command. The following are examples show how you can configure Jamf Connect preferences in Terminal:



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

Enables FileVault during user creation with Jamf Connect

defaults write com.jamf.connect PasswordPolices -dict-add NetworkCheck 5

Configure the menu bar app to perform a network check to verify passwords every 5 minutes.