User Tools

Site Tools


profles

# Configuration Profiles To get started check either the MacAdmins Profile Reference’s documentation (link below) or run `defaults read /path/to/pref` to see what preferences you can edit.

To review the managed preferences run this script. Managed preferences will _not_ show up using defaults read.

## Information MacAdmins Profile Reference’s documentation
Profiles: An IT Admin’s Best Friend - JNUC 2016 (YouTube video)
MacAdmins Profile Reference’s documentation

## Example Save as .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>PayloadDisplayName</key>
    <string>Screen Saver Settings</string>
    <key>PayloadDescription</key>
    <string>screen saver preferences</string>
    <key>PayloadIdentifier</key>
    <string>com.simantel.screensaver</string>
    <key>PayloadUUID</key>
    <string>06D4ACF0-C59E-4CE8-81BF-4B5175C51498</string>
    <key>PayloadType</key>
    <string>Configuration</string>
    <key>PayloadVersion</key>
    <integer>1</integer>
    <key>PayloadContent</key>
    <array>
        <dict>
            <key>PayloadUUID</key>
            <string>EEAB4F95-92F8-4371-A9A9-F26B1DD3BAFF</string>
            <key>PayloadType</key>
            <string>com.apple.screensaver</string>
            <key>PayloadVersion</key>
            <integer>1</integer>
            <key>askForPassword</key>
            <integer>1</integer>
            <key>askForPasswordDelay</key>
            <integer>300</integer>
        </dict>
    </array>
</dict>
</plist>

## Template

<?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>PayloadOrganization</key>
    <string>ORG_NAME</string>
    <key>PayloadDisplayName</key>
    <string>DISPLAY NAME</string>
    <key>PayloadDescription</key>
    <string>DESCRIPTION</string>
    <key>PayloadIdentifier</key>
    <string>COM.COMPANY.ITEM</string>
    <key>PayloadUUID</key>
    <!-- A globally unique identifier, use uuidgen on Linux/Mac OS X to generate it -->
    <string>UUIDGEN</string>
    <key>PayloadType</key>
    <string>Configuration</string>
    <key>PayloadVersion</key>
    <integer>1</integer>
    <key>PayloadContent</key>
    <array>
        <dict>
            <key>PayloadUUID</key>
            <string>UUIDGEN</string>
            <key>PayloadType</key>
            <string>COM.SOFTWARE.IDENTIFIER</string>
            <key>PayloadVersion</key>
            <integer>1</integer>
            <key>PREFERENCE</key>
			<string>PREFERENCE</string>
        </dict>
    </array>
</dict>
</plist>

## References Profiles: An IT Admin’s Best Friend Docs (cfprefs.py should be used to read out what the profiles set.)
Profile Automator Service
mcxToProfile
Make Profile Pkg
mac_profiles_handler module for Puppet

profles.txt · Last modified: 2019/02/18 18:54 by bryanheinz