MacOS – way to configure whitelisted websites via terminal

macosparental-controlsterminal

We currently have parental controls configured on our company Macs that we deploy however it looks like the option for parental control is greyed out and there is a website that is being blocked that shouldn't be

Is there a way of configuring whitelisted sites via the terminal as there isn't a way of using the GUI to do it right now

Best Answer

First, convert the com.apple.familycontrols.contentfilter.plist to xml.

 sudo plutil -convert xml1 /Library/Managed\ Perferences/yourUsername/com.apple.familcontrols.contentfilter.plist

Then, edit the xml file and remove the site that you want to remove

sudo nano /Library/Managed\ Perferences/yourUsername/com.apple.familcontrols.contentfilter.plist

This should help you.