The ability to log in to another user's active or locked session must be disabled.
WARNING: This rule may cause issues when platformSSO is configured.
macOS has a privilege that can be granted to any user that will allow that user to unlock active users' sessions. Disabling the administrator's and/or user's ability to log in to another user's active and locked session prevents unauthorized people from viewing potentially sensitive and/or personal information.
Note: Configuring this setting will change the user experience and disable TouchID from unlocking the screen saver. To restore the user experience and allow TouchID to unlock the screen saver, run "/usr/bin/sudo /usr/bin/defaults write /Library/Preferences/com.apple.loginwindow screenUnlockMode -int 1". This setting can also be deployed with a configuration profile.
if [[ "${SS_RULE}" == "authenticate-session-owner" ]]; then RESULT="PASS" else PSSO_CHECK=$(/usr/bin/security -q authorizationdb read "$SS_RULE" 2>&1 | /usr/bin/xmllint --xpath '//key[.="rule"]/following-sibling::array[1]/string/text()' -) if /usr/bin/grep -Fxq "authenticate-session-owner" <<<"$PSSO_CHECK"; then RESULT="PASS" fi fi
echo $RESULT
If the result is not "PASS", this is a finding.
Fix
Configure the macOS system to disable login to other users' active and locked sessions with the following command: