TMAegisBeta
Više pravila za macos

macOS

TMA-MACOS15-5.9

Ensure the Guest Home Folder Does Not Exist

VisokaNivo 1Automatskamacos

Opis

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.

Kako se proverava

Metod provere: Komanda ljuske

shell
out=$(/bin/ls /Users/ 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/grep -cx Guest || true
Očekivani izlaz
0

Kako se ispravlja

Metod ispravke: Smernica ili zakrpa infrastrukture

Terminal: sudo /bin/rm -R /Users/Guest.

Svojstva

Operativni sistemi
macos-15
Oznake
macossystem-access
Referenca
CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 5.9 Ensure the Guest Home Folder Does Not Exist

Proverite ovaj računar

Pokrenite ovo na računaru za koji imate dozvolu za proveru. Skeniranje radi u režimu samo za čitanje.

shell
tmaegis scan --target macos