Skip to content

Instantly share code, notes, and snippets.

View geoffrepoli's full-sized avatar

geoff geoffrepoli

View GitHub Profile
@geoffrepoli
geoffrepoli / modify-system-preferences-authorizations.py
Last active June 5, 2023 17:12 — forked from haircut/modify-system-preferences-authorizations.py
Backs up authdb, then modifies them so users can modify Energy Saver, Network, Printers & Scanners, Date & Time, Time Machine
#!/usr/bin/python3
'''
Modifies authorizations database to allow standard users to change select
system preferences.
A great guide to available authorization rights can be found at:
https://www.dssw.co.uk/reference/authorization-rights/index.html
USE AT YOUR OWN RISK
'''