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