]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame_incremental - config/cups/cupsd.conf
kernel: disable FW_LOADER_USER_HELPER_FALLBACK
[people/pmueller/ipfire-2.x.git] / config / cups / cupsd.conf
... / ...
CommitLineData
1#
2# IPFire configuration file for the Common UNIX Printing System (CUPS)
3# scheduler. See "man cupsd.conf" for a complete description of this
4# file.
5#
6
7# Log general information in error_log - change "info" to "debug" for
8# troubleshooting...
9LogLevel info
10
11# Administrator user group...
12SystemGroup sys root
13
14# Only listen for connections from the local machine.
15Listen 631
16Listen /var/run/cups/cups.sock
17
18# Show shared printers on the local network.
19Browsing On
20BrowseOrder allow,deny
21BrowseAllow @LOCAL
22
23# Default authentication type, when authentication is required...
24DefaultAuthType Basic
25
26# Restrict access to the server...
27<Location />
28 Order allow,deny
29 Allow from All
30</Location>
31
32# Restrict access to the admin pages...
33<Location /admin>
34 Encryption Required
35 Order allow,deny
36 Allow from All
37</Location>
38
39# Restrict access to configuration files...
40<Location /admin/conf>
41 AuthType Basic
42 Require user @SYSTEM
43 Order allow,deny
44 Allow from All
45</Location>
46
47# Set the default printer/job policies...
48<Policy default>
49 # Job-related operations must be done by the owner or an adminstrator...
50 <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>
51 Require user @OWNER @SYSTEM
52 Order deny,allow
53 </Limit>
54
55 # All administration operations require an adminstrator to authenticate...
56 <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>
57 AuthType Basic
58 Require user @SYSTEM
59 Order deny,allow
60 </Limit>
61
62 # Only the owner or an administrator can cancel or authenticate a job...
63 <Limit Cancel-Job CUPS-Authenticate-Job>
64 Require user @OWNER @SYSTEM
65 Order deny,allow
66 </Limit>
67
68 <Limit All>
69 Order deny,allow
70 </Limit>
71</Policy>