Skip to main content

Hi,

 

Does anyone have a script to enable the checkbox to admin password system-wide or configuration profile in Jamf Pro to get this done? Thank you in advance.

 

 

#!/bin/bash

security authorizationdb read system.preferences > /tmp/system.preferences.plist

/usr/libexec/PlistBuddy -c "Set :shared false" /tmp/system.preferences.plist

security authorizationdb write system.preferences < /tmp/system.preferences.plist

Got it from https://community.jamf.com/t5/jamf-pro/require-an-administrator-password-to-access-system-wide/m-p/202151#M190873


thanks @YanW  its working on Ventura


Reply