Extension Attribute for Parental Controls Enabled Needed for OSX! Smart Group Needed!

jperkins01
New Contributor

Hello Everyone!
I am seeking if anyone has an extension attribute i may be able to upload to our JSS to seek if "Parental Controls has been Enabled". I am looking to build a Smart Group. We may have some admins performing this on computers that is not necessary and need a place to start moving forward with correcting this based upon the findings.

Thanks, JP

1 REPLY 1

justinrummel
Contributor III

Parental controls are a per user basis. I was able to find some information in the /Local/Default database which could be found by:

#!/bin/sh
pc=`dscl /Search read /Users/username MCXSettings | grep com.apple.parentalcontrol`

I then get a value back for "<key>com.apple.parentalcontrols</key>". However, this would require searching for every user account to see if the amount has been enabled for Parental Controls.

  • Justin