![]() |
|
|
#3 |
|
Junior Member
Join Date: Jan 2017
Posts: 26
|
The Jamf Pro "files and folders" payload isn't intended to launch applications. That would likely create a significant security risk.
![]() Apple recommends using a Launch Agent. With that said, the one that comes with the DisplayLinkLoginScreenExtension.pkg package doesn't seem to work. Code:
<?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>CFBundleVersion</key> <string>1.4.0 (120)</string> <key>Disabled</key> <false/> <key>KeepAlive</key> <true/> <key>Label</key> <string>com.displaylink.DisplayLinkUserAgent</string> <key>LimitLoadToSessionType</key> <string>LoginWindow</string> <key>ProcessType</key> <string>Interactive</string> <key>ProgramArguments</key> <array> <string>/usr/bin/open</string> <string>-W</string> <string>/Applications/DisplayLink Manager.app</string> </array> <key>RunAtLoad</key> <true/> <key>ThrottleInterval</key> <integer>5</integer> <key>Umask</key> <integer>0</integer> </dict> </plist> 1. Launch Terminal and run this to create a preference file: defaults write /private/tmp/com.displaylink.DisplayLinkUserAgent AppAutostart 1Then run this to convert the preference file to an uploadeable format: plutil -convert xml1 /private/tmp/com.displaylink.DisplayLinkUserAgent.plistThen cat the file to make sure it is readable, if it comes back with gibberish, it wasn't converted properly: cat /private/tmp/com.displaylink.DisplayLinkUserAgent.plist2. Create a new Configuration Profile using the "Application & Custom Settings" payload, and upload /private/tmp/com.displaylink.DisplayLinkUserAgent.plist to the payload, using com.displaylink.DisplayLinkUserAgent as the preference domain, scoped to all computers. 3. There is no step 3. ![]() Thanks, Don Last edited by donmontalvo; 07-29-2021 at 09:49 PM. |
|
|
|
| Tags |
| command line, configuration profile, defaults, login |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|