APPL-14-002240 - The macOS system must disable Printer Sharing.

Information

Printer Sharing must be disabled.

Solution

Configure the macOS system to disable Printer Sharing with the following commands:

/usr/sbin/cupsctl --no-share-printers
/usr/bin/lpstat -p | awk '{print $2}'| /usr/bin/xargs -I{} lpadmin -p {} -o printer-is-shared=false

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Apple_macOS_14_V2R4_STIG.zip