]> git.ipfire.org Git - thirdparty/cups.git/blame - conf/cupsd.conf.in
Start of 3D printer support (infrastructure only)
[thirdparty/cups.git] / conf / cupsd.conf.in
CommitLineData
ef416fc2 1#
80693400 2# Configuration file for the CUPS scheduler. See "man cupsd.conf" for a
18ecb428 3# complete description of this file.
ef416fc2 4#
5
1f0275e3
MS
6# Log general information in error_log - change "@CUPS_LOG_LEVEL@" to "debug"
7# for troubleshooting...
8LogLevel @CUPS_LOG_LEVEL@
c9dcc485 9@CUPS_PAGE_LOG_FORMAT@
ef416fc2 10
ef416fc2 11# Only listen for connections from the local machine.
12Listen localhost:@DEFAULT_IPP_PORT@
13@CUPS_LISTEN_DOMAINSOCKET@
14
15# Show shared printers on the local network.
16Browsing On
c168a833 17BrowseLocalProtocols @CUPS_BROWSE_LOCAL_PROTOCOLS@
ef416fc2 18
19# Default authentication type, when authentication is required...
20DefaultAuthType Basic
21
229681c1
MS
22# Web interface setting...
23WebInterface @CUPS_WEBIF@
24
ef416fc2 25# Restrict access to the server...
26<Location />
27 Order allow,deny
ef416fc2 28</Location>
29
30# Restrict access to the admin pages...
31<Location /admin>
32 Order allow,deny
ef416fc2 33</Location>
34
35# Restrict access to configuration files...
36<Location /admin/conf>
bc44d920 37 AuthType Default
ef416fc2 38 Require user @SYSTEM
39 Order allow,deny
ef416fc2 40</Location>
41
42# Set the default printer/job policies...
43<Policy default>
10d09e33
MS
44 # Job/subscription privacy...
45 JobPrivateAccess default
46 JobPrivateValues default
47 SubscriptionPrivateAccess default
c779abb0 48 SubscriptionPrivateValues default
10d09e33 49
cc0d019f 50 # Job-related operations must be done by the owner or an administrator...
c7017ecc
MS
51 <Limit Create-Job Print-Job Print-URI Validate-Job>
52 Order deny,allow
53 </Limit>
54
aaf19ab0 55 <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 Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
ef416fc2 56 Require user @OWNER @SYSTEM
57 Order deny,allow
58 </Limit>
59
cc0d019f 60 # All administration operations require an administrator to authenticate...
ae71f5de 61 <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
bc44d920 62 AuthType Default
ef416fc2 63 Require user @SYSTEM
64 Order deny,allow
65 </Limit>
66
355e94dc 67 # All printer operations require a printer operator to authenticate...
10d09e33 68 <Limit Pause-Printer Resume-Printer 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 Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
355e94dc 69 AuthType Default
b9faaae1 70 Require user @CUPS_DEFAULT_PRINTOPERATOR_AUTH@
355e94dc
MS
71 Order deny,allow
72 </Limit>
73
ef416fc2 74 # Only the owner or an administrator can cancel or authenticate a job...
10d09e33 75 <Limit Cancel-Job CUPS-Authenticate-Job>
b9faaae1 76 Require user @OWNER @CUPS_DEFAULT_PRINTOPERATOR_AUTH@
ef416fc2 77 Order deny,allow
78 </Limit>
79
80 <Limit All>
81 Order deny,allow
82 </Limit>
83</Policy>
84
839a51c8
MS
85# Set the authenticated printer/job policies...
86<Policy authenticated>
10d09e33
MS
87 # Job/subscription privacy...
88 JobPrivateAccess default
89 JobPrivateValues default
90 SubscriptionPrivateAccess default
c779abb0 91 SubscriptionPrivateValues default
10d09e33 92
839a51c8 93 # Job-related operations must be done by the owner or an administrator...
c7017ecc 94 <Limit Create-Job Print-Job Print-URI Validate-Job>
c5571a1d
MS
95 AuthType Default
96 Order deny,allow
97 </Limit>
98
aaf19ab0 99 <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 Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
75bd9771 100 AuthType Default
839a51c8
MS
101 Require user @OWNER @SYSTEM
102 Order deny,allow
839a51c8
MS
103 </Limit>
104
105 # All administration operations require an administrator to authenticate...
106 <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
107 AuthType Default
108 Require user @SYSTEM
109 Order deny,allow
110 </Limit>
111
112 # All printer operations require a printer operator to authenticate...
10d09e33 113 <Limit Pause-Printer Resume-Printer 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 Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
839a51c8 114 AuthType Default
b9faaae1 115 Require user @CUPS_DEFAULT_PRINTOPERATOR_AUTH@
839a51c8
MS
116 Order deny,allow
117 </Limit>
118
119 # Only the owner or an administrator can cancel or authenticate a job...
10d09e33 120 <Limit Cancel-Job CUPS-Authenticate-Job>
75bd9771 121 AuthType Default
b9faaae1 122 Require user @OWNER @CUPS_DEFAULT_PRINTOPERATOR_AUTH@
839a51c8 123 Order deny,allow
839a51c8
MS
124 </Limit>
125
126 <Limit All>
75bd9771 127 Order deny,allow
839a51c8
MS
128 </Limit>
129</Policy>