BaselineWatch
Desk

os_erase_content_and_settings_disable Disable Erase Content and Settings

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

Title

Disable Erase Content and Settings

Control

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

Discussion

Erase Content and Settings _MUST_ be disabled.

Related controls

cm-7, cm-7.1

Fix

This is implemented by a Configuration Profile.