BaselineWatch
Desk

system_settings_automatic_logout_enforce Enforce Auto Logout After $ODV Seconds of Inactivity

NIST macOS Security Compliance Project Sequoia Guidance, Revision 4.0 (be5491f)
All changes in this version
first version loaded System Settings

Title

Enforce Auto Logout After $ODV Seconds of Inactivity

Control

/usr/bin/osascript -l JavaScript << EOS
$.NSUserDefaults.alloc.initWithSuiteName('.GlobalPreferences')\
.objectForKey('com.apple.autologout.AutoLogOutDelay').js
EOS

Discussion

Auto logout _MUST_ be configured to automatically terminate a user session and log out the after $ODV seconds of inactivity.

NOTE:The maximum that macOS can be configured for autologoff is $ODV 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.
====

Related controls

ac-12, ac-2.5

Fix

This is implemented by a Configuration Profile.