macOS
TMA-MACOS-5.9
Ensure the Guest Home Folder Does Not Exist
AltaNível 1Automatizadamacos
Descrição
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.
Como é verificado
Método de auditoria: Comando shell
shell
out=$(/bin/ls /Users/ 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/grep -cx Guest || true- Saída esperada
0
Como é corrigido
Método de correção: Orientação ou patch de infraestrutura
Terminal: sudo /bin/rm -R /Users/Guest.
Propriedades
- Sistemas operacionais
- macos-26
- Tags
- macossystem-access
- Referência
- CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 5.9 Ensure the Guest Home Folder Does Not Exist
Verificar este host
Execute isto em uma máquina que você tenha permissão para auditar. A varredura é somente leitura.
shell
tmaegis scan --target macos