macOS
TMA-MACOS15-5.9
Ensure the Guest Home Folder Does Not Exist
높음레벨 1자동macos
설명
In the previous two controls, the guest account login has been disabled and sharing to guests has been disabled, as well. There is no need for the legacy Guest home folder to remain in the file system. When normal user accounts are removed, you have the option to archive it, leave it in place, or delete. In the case of the guest folder, the folder remains in place without a GUI option to remove it.
점검 방법
감사 방식: 셸 명령
shell
out=$(/bin/ls /Users/ 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/grep -cx Guest || true- 예상 출력
0
조치 방법
조치 방식: 가이드 또는 인프라 패치
Terminal: sudo /bin/rm -R /Users/Guest.
속성
- 운영 체제
- macos-15
- 태그
- macossystem-access
- 참고 자료
- CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 5.9 Ensure the Guest Home Folder Does Not Exist
이 호스트 점검하기
감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.
shell
tmaegis scan --target macos