Revert manifest to default one
[external/cups.git] / conf / cupsd.conf.in
1 #
2 # "$Id: cupsd.conf.in 9407 2010-12-09 21:24:51Z mike $"
3 #
4 # Sample configuration file for the CUPS scheduler.  See "man cupsd.conf" for a
5 # complete description of this file.
6 #
7
8 # Log general information in error_log - change "@CUPS_LOG_LEVEL@" to "debug"
9 # for troubleshooting...
10 LogLevel @CUPS_LOG_LEVEL@
11
12 # Deactivate CUPS' internal logrotating, as we provide a better one, especially
13 # LogLevel debug2 gets usable now
14 MaxLogSize 0
15
16 # Administrator user group...
17 SystemGroup @CUPS_SYSTEM_GROUPS@
18 @CUPS_SYSTEM_AUTHKEY@
19
20 # Only listen for connections from the local machine.
21 Listen localhost:@DEFAULT_IPP_PORT@
22 @CUPS_LISTEN_DOMAINSOCKET@
23
24 # Show shared printers on the local network.
25 Browsing On
26 BrowseOrder allow,deny
27 BrowseAllow all
28 BrowseLocalProtocols @CUPS_BROWSE_LOCAL_PROTOCOLS@
29
30 # Default authentication type, when authentication is required...
31 DefaultAuthType Basic
32
33 # Web interface setting...
34 WebInterface @CUPS_WEBIF@
35
36 # Restrict access to the server...
37 <Location />
38   Order allow,deny
39 </Location>
40
41 # Restrict access to the admin pages...
42 <Location /admin>
43   Order allow,deny
44 </Location>
45
46 # Restrict access to configuration files...
47 <Location /admin/conf>
48   AuthType None
49 # AuthType Default
50 # Require user @SYSTEM
51   Order allow,deny
52 </Location>
53
54 # Set the default printer/job policies...
55 <Policy default>
56   # Job/subscription privacy...
57   JobPrivateAccess default
58   JobPrivateValues default
59   SubscriptionPrivateAccess default
60   SubscriptionPrivateValues default
61
62   # Job-related operations must be done by the owner or an administrator...
63   <Limit Create-Job Print-Job Print-URI Validate-Job>
64     Order deny,allow
65   </Limit>
66
67   <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>
68 #   Require user @OWNER @SYSTEM
69     Order deny,allow
70   </Limit>
71
72   # All administration operations require an administrator to authenticate...
73   <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
74     AuthType None
75 #   AuthType Default
76 #   Require user @SYSTEM
77     Order deny,allow
78   </Limit>
79
80   # All printer operations require a printer operator to authenticate...
81   <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>
82     AuthType None
83 #   AuthType Default
84 #   Require user @CUPS_DEFAULT_PRINTOPERATOR_AUTH@
85     Order deny,allow
86   </Limit>
87
88   # Only the owner or an administrator can cancel or authenticate a job...
89   <Limit Cancel-Job CUPS-Authenticate-Job>
90 #   Require user @OWNER @CUPS_DEFAULT_PRINTOPERATOR_AUTH@
91     Order deny,allow
92   </Limit>
93
94   <Limit All>
95     Order deny,allow
96   </Limit>
97 </Policy>
98
99 # Set the authenticated printer/job policies...
100 <Policy authenticated>
101   # Job/subscription privacy...
102   JobPrivateAccess default
103   JobPrivateValues default
104   SubscriptionPrivateAccess default
105   SubscriptionPrivateValues default
106
107   # Job-related operations must be done by the owner or an administrator...
108   <Limit Create-Job Print-Job Print-URI Validate-Job>
109     AuthType None
110 #    AuthType Default
111     Order deny,allow
112   </Limit>
113
114   <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>
115     AuthType None
116 #    AuthType Default
117 #    Require user @OWNER @SYSTEM
118     Order deny,allow
119   </Limit>
120
121   # All administration operations require an administrator to authenticate...
122   <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
123     AuthType None
124 #    AuthType Default
125 #    Require user @SYSTEM
126     Order deny,allow
127   </Limit>
128
129   # All printer operations require a printer operator to authenticate...
130   <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>
131     AuthType None
132 #    AuthType Default
133 #    Require user @CUPS_DEFAULT_PRINTOPERATOR_AUTH@
134     Order deny,allow
135   </Limit>
136
137   # Only the owner or an administrator can cancel or authenticate a job...
138   <Limit Cancel-Job CUPS-Authenticate-Job>
139     AuthType None
140 #    AuthType Default
141 #    Require user @OWNER @CUPS_DEFAULT_PRINTOPERATOR_AUTH@
142     Order deny,allow
143   </Limit>
144
145   <Limit All>
146     Order deny,allow
147   </Limit>
148 </Policy>
149
150 #
151 # End of "$Id: cupsd.conf.in 9407 2010-12-09 21:24:51Z mike $".
152 #