Parental Controls Through Terminal

parental-controlsterminal

I have it setup so that my son only has 1 hour of computer use per day. He commonly needs extensions, and I think the only solution to do it while I am away is through terminal. Is there a way to extend the remaining time via a terminal command? Please note that I am only looking at answers through terminal not other 3rd party software.

Thanks.

Best Answer

You can change /Library/Managed\ Preferences/Username/com.apple.familycontrols.timelimits.v2.plist under the key time-limits there are 2 dictionaries you may need to consider :

  • weekday-allowance

  • weekend-allowance

Both have a key "secondsPerDay" you may change.

You may edit the .plist by converting it to XML using sudo plutil -convert xml1 theFile and then edit it with your favourite command line editor.