Merge pull request #8627 from mdisec/security/harden-cups-browsed

Harden CUPS printer discovery

(cherry picked from commit 169ad00a84)
This commit is contained in:
Ryan Hughes committed 2026-08-29 02:24:37 -04:00
1 parent 92c8f87730
commit 51af7bf794
11 files changed
+465 -12

No files matched your search

+8 -4
View File
@@ -1,4 +1,8 @@
# Omarchy override of cups-browsed's shipped config. The only behavioural
# change vs the upstream default (all-commented) is enabling auto-registration
# of remote IPP printers discovered via Avahi/mDNS.
CreateRemotePrinters Yes
# Keep state away from /var/cache/cups, which is writable by the account CUPS
# uses for print filters. cups-browsed is the only writer to this directory.
CacheDir /var/cache/cups-browsed
# Auto-create queues only for modern driverless IPP printers. Remote queues
# exported by another CUPS server can still be added manually when needed.
CreateIPPPrinterQueues Driverless
CreateRemoteCUPSPrinterQueues No