TMAegisБета
Више правила за macos

macOS

TMA-MACOS-2.3.3.3

Ensure Printer Sharing Is Disabled

СредњаНиво 1Аутоматскаmacos

Опис

By enabling Printer Sharing, the computer is set up as a print server to accept print jobs from other computers. Dedicated print servers or direct IP printing should be used instead.

Како се проверава

Метод провере: Команда љуске

shell
out=$(/usr/sbin/cupsctl 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/grep -c "_share_printers=0" || true
Очекивани излаз
1

Како се исправља

Метод исправке: Смерница или закрпа инфраструктуре

Terminal: sudo /usr/sbin/cupsctl --no-share-printers. GUI: System Settings > General > Sharing > Set Printer Sharing to disabled.

Својства

Оперативни системи
macos-26
Ознаке
macossystem-settings
Референца
CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 2.3.3.3 Ensure Printer Sharing Is Disabled

Проверите овај рачунар

Покрените ово на рачунару за који имате дозволу за проверу. Скенирање ради у режиму само за читање.

shell
tmaegis scan --target macos