Editing the macOS loginwindow Application

Jamf Connect Documentation

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

You can manually edit the loginwindow application in macOS using the security command.
  1. In Terminal, execute the following command:
    security authorizationdb read system.login.console
  2. Using your preferred text editor, edit the XML mechanism array.
  3. Reload the list using the following security command executed as root:
    sudo security authorizationdb write system.login.console < newest.xml
Note:

If the loginwindow application is running, you must restart it to apply your changes. If no users are currently signed in to the computer, you can close the loginwindow application as root with the following command: sudo killall loginwindow

If a user is currently logged in to the computer, the user must log out.

Additionally, it may be useful to leave a local administrator account logged in to a Finder session, and then Fast User Switch to the login window. Using the killall command above will kill any Finder sessions currently running, including your local administrator account.

Note:

Fast User Switching must be enabled on the computer to use this feature. Navigate to System Preferences > Users & Groups > Login Options.