Posted on 03-10-2015 05:38 PM
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
Posted on 03-11-2015 08:44 AM
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.