Skip to content

Commit

Permalink
fix[rule]: change to correct value
Browse files Browse the repository at this point in the history
added note explaining that TouchID is disabled for screensaver
  • Loading branch information
brodjieski committed Dec 1, 2023
1 parent b0bead5 commit c52b7ff
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions rules/os/os_unlock_active_user_session_disable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ discussion: |
The ability to log in to another user's active or locked session _MUST_ be disabled.
macOS has a privilege that can be granted to any user that will allow that user to unlock active user's sessions. Disabling the admins and/or user's ability to log into another user's active andlocked session prevents unauthorized persons from viewing potentially sensitive and/or personal information.
NOTE: Configuring this setting will disable TouchID from unlocking the screensaver.
check: |
/usr/bin/security authorizationdb read system.login.screensaver 2>&1 | /usr/bin/grep -c 'use-login-window-ui'
/usr/bin/security authorizationdb read system.login.screensaver 2>&1 | /usr/bin/grep -c '<string>authenticate-session-owner</string>'
result:
integer: 1
fix: |
[source,bash]
----
/usr/bin/security authorizationdb write system.login.screensaver "use-login-window-ui"
/usr/bin/security authorizationdb write system.login.screensaver "authenticate-session-owner"
----
references:
cce:
Expand Down

0 comments on commit c52b7ff

Please sign in to comment.