5.6 Ensure an Administrator Account Cannot Login to Another User's Active and Locked Session

Information

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 into another user's active and locked session prevents unauthorized persons from viewing potentially sensitive and/or personal information.

Solution

Run the following command to disable a user logging into another user's active and/or locked session:

% /usr/bin/sudo /usr/bin/security authorizationdb write system.login.screensaver authenticate-session-owner

YES (0)

Impact:

While Fast user switching is a workaround for some lab environments, especially where there is even less of an expectation of privacy, this setting change may impact some maintenance workflows.

See Also

https://workbench.cisecurity.org/benchmarks/17465