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?

1 Answer 1


Using AppleScript :

tell application "System Events"
    tell security preferences
    set properties to {require password to unlock:true}
    end tell
end tell

You can call the Applescript code using the osascript command.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .