Hi,
I have managed to mostly create a configuration profile that will make our Sonoma Macs compliant with CIS Lvl. 2. But I have come across two problems:
1. An Administrator Account Cannot Login to Another User's Active and Locked Session
If I am not mistaken, this should be fixable in one of two ways:
a) By executing
/usr/bin/sudo /usr/bin/defaults write /Library/Preferences/com.apple.loginwindow screenUnlockMode -int 1
which I have done, and the corresponding check, whether this has worked,
/usr/bin/security authorizationdb read system.login.screensaver 2>&1 | /usr/bin/grep -c '<string>authenticate-session-owner</string>'
produces a result of 1, which is correct. But still that policy is failing in Jamf Protect.
b) By setting values in
/Library/Preferences/com.apple.PowerManagement.plist
which I have also done through a policy. But this actually sets the values in
/Library/Managed Preferences
and has no effect.
Can you point me in the right direction?
2. When I set values in
com.apple.mobiledevice.passwordpolicy.plist
in my configuration profile, they also get written to
/Library/Managed Preferences
and have no effect. Since I need to specify a custom regex, and the UI in Jamf doesn't allow for that, I cannot satisfy this point in CIS Lvl. 2 compliance.
Can you help?
Kind regard
Toby