Skip to content

Instantly share code, notes, and snippets.

Avatar

Nick Cobb loyaltyarm

View GitHub Profile
@loyaltyarm
loyaltyarm / test_auto_lock.mobileconfig
Last active Feb 17, 2017
Auto-lock custom config profile
View test_auto_lock.mobileconfig
<?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>PayloadContent</key>
<array>
<dict>
<key>forcePIN</key>
<false/>
<key>allowSimple</key>
View sample_bt_execs
# Append to defaults.yaml
managedmac::execs::commands:
disable_bluetooth_assistant_popups_keyboard:
command: "/usr/bin/defaults write /Library/Preferences/com.apple.Bluetooth BluetoothAutoSeekKeyboard '0'"
disable_bluetooth_assistant_popups_mouse:
command: "/usr/bin/defaults write /Library/Preferences/com.apple.Bluetooth BluetoothAutoSeekPointingDevice '0'"
disable_bluetooth:
command: "/usr/bin/defaults write /Library/Preferences/com.apple.Bluetooth ControllerPowerState '0'"
unload_bluetooth_service:
You can’t perform that action at this time.