Posted on 10-30-2015 10:25 PM
Hi All
as i found the configuration profile including password session is not working any more on El Capitan. you can refer to my test [https://jamfnation.jamfsoftware.com/discussion.html?id=17654]
Now i urgently need a way to deploy to all mac via a 5 mins auto -lock mac function.
Any one know how to enable auto lock via command line or other methods?
Posted on 11-02-2015 04:47 AM
Are you using the Passcode payload in config profiles? We normally use a custom profile for this to set the askForPasswordDelay
key in ~/Library/Preferences/com.apple.screensaver.plist.
<?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>PayloadContent</key>
<dict>
<key>com.apple.screensaver</key>
<dict>
<key>Forced</key>
<array>
<dict>
<key>mcx_preference_settings</key>
<dict>
<key>askForPasswordDelay</key>
<real>5</real>
</dict>
</dict>
</array>
</dict>
</dict>
<key>PayloadEnabled</key>
<true/>
<key>PayloadIdentifier</key>
<string>screensaver.107fe2a6-e41b-481e-b44f-b7d8f4e4d783.alacarte.customsettings.516a0aaf-ff67-44fa-b2dd-a1dfe5abd2da</string>
<key>PayloadType</key>
<string>com.apple.ManagedClient.preferences</string>
<key>PayloadUUID</key>
<string>516a0aaf-ff67-44fa-b2dd-a1dfe5abd2da</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</array>
<key>PayloadDescription</key>
<string>Included custom settings:
com.apple.screensaver
Git revision: 1d30395cd4</string>
<key>PayloadDisplayName</key>
<string>Screensaver lock time</string>
<key>PayloadIdentifier</key>
<string>ScreenSaver</string>
<key>PayloadOrganization</key>
<string></string>
<key>PayloadRemovalDisallowed</key>
<true/>
<key>PayloadScope</key>
<string>System</string>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>107fe2a6-e41b-481e-b44f-b7d8f4e4d783</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>