macOS
TMA-MACOS-2.3.3.3
Ensure Printer Sharing Is Disabled
SrednjaNivo 1Automatskamacos
Opis
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.
Kako se proverava
Metod provere: Komanda ljuske
shell
out=$(/usr/sbin/cupsctl 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/grep -c "_share_printers=0" || true- Očekivani izlaz
1
Kako se ispravlja
Metod ispravke: Smernica ili zakrpa infrastrukture
Terminal: sudo /usr/sbin/cupsctl --no-share-printers. GUI: System Settings > General > Sharing > Set Printer Sharing to disabled.
Svojstva
- Operativni sistemi
- macos-26
- Oznake
- macossystem-settings
- Referenca
- CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 2.3.3.3 Ensure Printer Sharing Is Disabled
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