Terminal Command for system preferences
Hi,
I am looking for a terminal command that will lock the system preferences pane of "system preferences" > "security & privacy" > "privacy" > "Screen Recording".
I have found some commands online but not sure how to translate/interpret them for this specific task.
example:
/usr/bin/security authorizationdb read system.preferences > /tmp/system.preferences.plist
/usr/bin/defaults write /tmp/system.preferences.plist group everyone
/usr/bin/security authorizationdb write system.preferences < /tmp/system.preferences.plist
Anyone able to help?