I need to enable the "Require an administrator password to access locked preferences" on about a dozen Macs. I would like to do it from ARD as a unix command. Is this possible?
MacOS – Change Security & Privacy setting from terminal
macosSecurity
Related Question
- MacOS – How to change askForPasswordDelay from the command line? dwrite alone doesn’t work
- How to change the password of a keychain item from the Terminal
- MacOS – Security & Privacy issue: cannot edit options
- How to prevent terminal from printing passwords from keychain
- MacOS – Enabling /bin/bash on Catalina – invisible to System Preferences -> Security & Privacy -> Full Disk Access
- MacOS – Prevent mac from requiring login screen at home
- MacOS – Is it possible to automate changing some security settings in Catalina
Best Answer
Using AppleScript :
You can call the Applescript code using the
osascript
command.