Preferences with the defaults Command-Line Tool

You can manually read and write Jamf Connect preferences by using the defaults command-line tool on 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.

Reading Preferences

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

Writing Preferences

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:

Command

Description

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.

Related Information

For related information about the defaults command-line tool, see the following from Apple's Terminal User Guide.

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