id: os_guest_folder_removed
title: Remove Guest Folder if Present
discussion: |
  The guest folder _MUST_ be deleted if present.
check: |
  /bin/ls /Users/ | /usr/bin/grep -c "Guest"
result:
  integer: 0
fix: |
  [source,bash]
  ----
  /bin/rm -Rf /Users/Guest
  ----
references:
  cce:
    - CCE-95198-8
  cci:
    - N/A
  800-53r5:
    - N/A
  800-53r4:
    - N/A
  srg:
    - N/A
  disa_stig:
    - N/A
  800-171r3:
    - N/A
  cis:
    benchmark:
      - 5.9 (level 1)
    controls v8:
      - 4.1
macOS:
  - '26.0'
tags:
  - cis_lvl1
  - cis_lvl2
mobileconfig: false
mobileconfig_info:
