Rule ID
SV-288925r1316763_rule
Version
V1R1
CCIs
The prompt for Apple ID setup during Setup Assistant must be disabled. macOS will automatically prompt new users to set up an Apple ID while they are going through Setup Assistant if this is not disabled. This can mislead new users into thinking they need to create Apple ID accounts upon their first login.
Verify the macOS system is configured to disable Apple ID setup during Setup Assistant with the following command:
/usr/bin/osascript -l JavaScript -e 'var s = $.NSUserDefaults.alloc.initWithSuiteName("com.apple.SetupAssistant.managed"); (ObjC.unwrap(s.objectForKey("SkipSetupItems").containsObject("AppleID")) == true && s.objectIsForcedForKey("SkipSetupItems")) ? "PASS" : "FAIL"'
If the result is not "PASS", this is a finding.Configure the macOS system to disable Apple ID setup during Setup Assistant by installing the "com.apple.SetupAssistant.managed" configuration profile.