authchanger Examples

Jamf Connect Documentation

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

Command

Description

authchanger -print

Read the Authorization Database

Displays the current authorization database settings.

sudo authchanger -reset -JamfConnect

Enable Jamf Connect Authentication

Ensures the authorization database is reset to factory defaults, and then enables Jamf Connect Login with an IdP at the login window.

sudo authchanger -reset -preAuth JamfConnectLogin:DeMobilize,privileged

Run a Single Jamf Connect login window mechanism

Configure Jamf Connect Login to run a single login mechanism. This example only runs the demobilize mechanism during the login window process. This allows users to login to using the default macOS login window while Jamf Connect converts the mobile account into a local account on the Mac in the background.

/usr/local/bin/authchanger -reset -JamfConnect -Notify

Enable the Jamf Connect notify mechanism

Adds the notify mechanism to the login window application.

For more information about the notify screen, see Notify Screen.

/usr/local/bin/authchanger -reset -preAuth JamfConnectLogin:Notify
Skip the Jamf Connect login window mechanism

Skips the Jamf Connect login window and presents only the notify mechanism.

For more information about the notify screen, see Notify Screen.

authchanger Configuration Profile

The following configuration profile shows how to pass arguments to authchanger:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Arguments</key>
<array>
<string>-reset</string>
<string>-JamfConnect</string>
<string>-Notify</string>
</array>
</dict>
</plist>