3
# Sample configuration file for the Common UNIX Printing System (CUPS)
4
# scheduler. See "man cupsd.conf" for a complete description of this
8
# Log general information in error_log - change "info" to "debug" for
12
# Administrator user group...
15
# Only listen for connections from the local machine.
16
# These settings are configured in /etc/cups/cups.d/ports.conf so that
17
# changing them does not require to change this file.
18
# Listen localhost:631
19
# Listen /var/run/cups/cups.sock
21
# Show shared printers on the local network.
22
# The 'Browsing' setting is configured in /etc/cups/cups.d/browse.conf
23
# so that changing it does not require to change this file.
25
BrowseOrder allow,deny
29
# Default authentication type, when authentication is required...
32
# Restrict access to the server...
39
# Restrict access to the admin pages...
45
# Restrict access to configuration files...
46
<Location /admin/conf>
53
# Set the default printer/job policies...
55
# Job-related operations must be done by the owner or an adminstrator...
56
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>
57
Require user @OWNER @SYSTEM
61
# All administration operations require an adminstrator to authenticate...
62
<Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
68
# Only the owner or an administrator can cancel or authenticate a job...
69
<Limit Cancel-Job CUPS-Authenticate-Job>
70
Require user @OWNER @SYSTEM
79
# Include files in /etc/cups/conf.d
80
Include /etc/cups/cups.d/ports.conf
81
Include /etc/cups/cups.d/browse.conf