STIGUI
V-268510CAT II — Medium severitySV-268510r1131221_rule

The macOS system must disable the guest account.

Rule version APPL-15-002063 · STIG v1 · 2026-09-01

Discussion

Guest access must be disabled.

Turning off guest access prevents anonymous users from accessing files.

Check

Verify the macOS system is configured to disable the guest account with the following command:

/usr/bin/osascript -l JavaScript << EOS function run() { let pref1 = ObjC.unwrap($.NSUserDefaults.alloc.initWithSuiteName('com.apple.MCX')\ .objectForKey('DisableGuestAccount')) let pref2 = ObjC.unwrap($.NSUserDefaults.alloc.initWithSuiteName('com.apple.MCX')\ .objectForKey('EnableGuestAccount')) if ( pref1 == true && pref2 == false ) { return("true") } else { return("false") } } EOS

If the result is not "true", this is a finding.

Fix

Configure the macOS system to disable the guest account by installing the "com.apple.MCX" configuration profile.

Identifiers

Group ID
V-268510
Group title
SRG-OS-000364-GPOS-00151
Rule ID
SV-268510r1131221_rule
Check ID
C-72540r1131220_chk
Fix ID
F-72441r1034469_fix