macOS
TMA-MACOS-2.3.3.3
Ensure Printer Sharing Is Disabled
MediaNivel 1Automatizadamacos
Descripción
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.
Cómo se verifica
Método de auditoría: Comando de shell
shell
out=$(/usr/sbin/cupsctl 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/grep -c "_share_printers=0" || true- Salida esperada
1
Cómo se corrige
Método de corrección: Guía o parche de infraestructura
Terminal: sudo /usr/sbin/cupsctl --no-share-printers. GUI: System Settings > General > Sharing > Set Printer Sharing to disabled.
Propiedades
- Sistemas operativos
- macos-26
- Etiquetas
- macossystem-settings
- Referencia
- CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 2.3.3.3 Ensure Printer Sharing Is Disabled
Verificar este host
Ejecute esto en un equipo que tenga permiso para auditar. El escaneo es de solo lectura.
shell
tmaegis scan --target macos