The macOS system must enforce auto logout after 86400 seconds of inactivity.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-268448 | APPL-15-000160 | SV-268448r1034284_rule | CCI-002361 | medium |
| Description | ||||
| Auto logout must be configured to automatically terminate a user session and log out after 86400 seconds of inactivity. NOTE: The maximum that macOS can be configured for autologoff is 86400 seconds. [IMPORTANT] ==== The automatic logout may cause disruptions to an organization's workflow and/or loss of data. Information system security officers (ISSOs) are advised to first fully weigh the potential risks posed to their organization before opting to disable the automatic logout setting. ==== | ||||
| STIG | Date | |||
| Apple macOS 15 (Sequoia) Security Technical Implementation Guide | 2025-05-05 | |||
Details
Check Text (C-268448r1034284_chk)
Verify the macOS system is configured to enforce auto logout after 86400 seconds of inactivity with the following command:
/usr/bin/osascript -l JavaScript << EOS
$.NSUserDefaults.alloc.initWithSuiteName('.GlobalPreferences')\
.objectForKey('com.apple.autologout.AutoLogOutDelay').js
EOS
If the result is not "86400", this is a finding.
Fix Text (F-72379r1034283_fix)
Configure the macOS system to enforce auto logout after 86400 seconds of inactivity by installing the "com.apple.GlobalPreferences" configuration profile.