1cupsd.conf(5)                     Apple Inc.                     cupsd.conf(5)
2
3
4

NAME

6       cupsd.conf - server configuration file for cups
7

DESCRIPTION

9       The  cupsd.conf  file  configures  the CUPS scheduler, cupsd(8).  It is
10       normally located in the /etc/cups directory. Note: File, directory, and
11       user configuration directives that used to be allowed in the cupsd.conf
12       file are now stored in the cups-files.conf(5) instead in order to  pre‐
13       vent certain types of privilege escalation attacks.
14
15       Each  line  in the file can be a configuration directive, a blank line,
16       or a comment. Comment lines start with the # character. The  configura‐
17       tion  directives are intentionally similar to those used by the popular
18       Apache web server software and are described below.
19

DIRECTIVES

21       The following directives are understood by cupsd(8).  Consult  the  on-
22       line help for detailed descriptions:
23
24       AccessLogLevel config
25
26       AccessLogLevel actions
27
28       AccessLogLevel all
29            Specifies the logging level for the AccessLog file.
30
31       Allow all
32
33       Allow none
34
35       Allow host.domain.com
36
37       Allow *.domain.com
38
39       Allow ip-address
40
41       Allow ip-address/netmask
42
43       Allow ip-address/mm
44
45       Allow @IF(name)
46
47       Allow @LOCAL
48            Allows access from the named hosts or addresses.
49
50       AuthType None
51
52       AuthType Basic
53
54       AuthType BasicDigest
55
56       AuthType Digest
57
58       AuthType Negotiate
59            Specifies  the  authentication  type  (None,  Basic,  BasicDigest,
60            Digest, Negotiate)
61
62       AutoPurgeJobs Yes
63
64       AutoPurgeJobs No
65            Specifies whether to purge job history data automatically when  it
66            is no longer required for quotas.
67
68       BrowseLocalProtocols [All] [DNSSD]
69            Specifies the protocols to use for local printer sharing.
70
71       BrowseWebIF Yes
72
73       BrowseWebIF No
74            Specifies whether the CUPS web interface is advertised via DNS-SD.
75
76       Browsing Yes
77
78       Browsing No
79            Specifies whether or not shared printers should be advertised.
80
81       Classification banner
82            Specifies the security classification of the server.
83
84       ClassifyOverride Yes
85
86       ClassifyOverride No
87            Specifies whether to allow users to override the classification of
88            individual print jobs.
89
90       DefaultAuthType Basic
91
92       DefaultAuthType BasicDigest
93
94       DefaultAuthType Digest
95
96       DefaultAuthType Negotiate
97            Specifies the default type of authentication to use.
98
99       DefaultEncryption Never
100
101       DefaultEncryption IfRequested
102
103       DefaultEncryption Required
104            Specifies  the  type  of  encryption  to  use  for   authenticated
105            requests.
106
107       DefaultLanguage locale
108            Specifies the default language to use for text and web content.
109
110       DefaultPaperSize Auto
111
112       DefaultPaperSize None
113
114       DefaultPaperSize sizename
115            Specifies the default paper size for new print queues. "Auto" uses
116            a locale- specific default, while "None"  specifies  there  is  no
117            default paper size.
118
119       DefaultPolicy policy-name
120            Specifies the default access policy to use.
121
122       DefaultShared Yes
123
124       DefaultShared No
125            Specifies whether local printers are shared by default.
126
127       Deny all
128
129       Deny none
130
131       Deny host.domain.com
132
133       Deny *.domain.com
134
135       Deny ip-address
136
137       Deny ip-address/netmask
138
139       Deny ip-address/mm
140
141       Deny @IF(name)
142
143       Deny @LOCAL
144            Denies access to the named host or address.
145
146       DirtyCleanInterval seconds
147            Specifies the delay for updating of configuration and state files.
148            A value of 0 causes the update to happen as soon as possible, typ‐
149            ically within a few milliseconds.
150
151       Encryption IfRequested
152
153       Encryption Never
154
155       Encryption Required
156            Specifies  the level of encryption that is required for a particu‐
157            lar location.
158
159       ErrorPolicy abort-job
160            Specifies that a failed print job should  be  aborted  (discarded)
161            unless otherwise specified for the printer.
162
163       ErrorPolicy retry-job
164            Specifies  that  a  failed  print job should be retried at a later
165            time unless otherwise specified for the printer.
166
167       ErrorPolicy retry-this-job
168            Specifies that a failed print job should  be  retried  immediately
169            unless otherwise specified for the printer.
170
171       ErrorPolicy stop-printer
172            Specifies  that  a failed print job should stop the printer unless
173            otherwise specified for the printer. The 'stop-printer' error pol‐
174            icy is the default.
175
176       FilterLimit limit
177            Specifies the maximum cost of filters that are run concurrently.
178
179       FilterNice nice-value
180            Specifies  the  scheduling priority ("nice" value) of filters that
181            are run to print a job.
182
183       GSSServiceName name
184            Specifies the service name when using Kerberos authentication. The
185            default service name is "host".
186
187       HostNameLookups On
188
189       HostNameLookups Off
190
191       HostNameLookups Double
192            Specifies   whether  or  not  to  do  reverse  lookups  on  client
193            addresses.
194
195       Include filename
196            Includes the named file.
197
198       JobKillDelay seconds
199            Specifies the number of seconds to wait before killing the filters
200            and backend associated with a canceled or held job.
201
202       JobPrivateAccess all
203
204       JobPrivateAccess default
205
206       JobPrivateAccess {user|@group|@ACL|@OWNER|@SYSTEM}+
207            Specifies an access list for a job's private values. The "default"
208            access list is "@OWNER @SYSTEM".  "@ACL"  maps  to  the  printer's
209            requesting-user-name-allowed  or  requesting-user-name-denied val‐
210            ues.
211
212       JobPrivateValues all
213
214       JobPrivateValues default
215
216       JobPrivateValues none
217
218       JobPrivateValues attribute-name-1 [ ... attribute-name-N ]
219            Specifies the list of job values to make  private.  The  "default"
220            values are "job-name", "job-originating-host-name", and "job-orig‐
221            inating-user-name".
222
223       JobRetryInterval seconds
224            Specifies the interval between retries of jobs in seconds.
225
226       JobRetryLimit count
227            Specifies the number of retries that are done for jobs.
228
229       KeepAlive Yes
230
231       KeepAlive No
232            Specifies whether to support HTTP keep-alive connections.
233
234       KeepAliveTimeout seconds
235            Specifies the amount of time that connections are kept alive.
236
237       <Limit operations> ... </Limit>
238            Specifies the IPP operations that are being limited inside a  pol‐
239            icy.
240
241       <Limit methods> ... </Limit>
242
243       <LimitExcept methods> ... </LimitExcept>
244            Specifies  the  HTTP methods that are being limited inside a loca‐
245            tion.
246
247       LimitRequestBody
248            Specifies the maximum size of any print job request.
249
250       Listen ip-address:port
251
252       Listen *:port
253
254       Listen /path/to/domain/socket
255            Listens to the specified address and port or domain socket path.
256
257       <Location /path> ... </Location>
258            Specifies access control for the named location.
259
260       LogDebugHistory #-messages
261            Specifies the number of debugging messages that are logged when an
262            error occurs in a print job.
263
264       LogLevel alert
265
266       LogLevel crit
267
268       LogLevel debug2
269
270       LogLevel debug
271
272       LogLevel emerg
273
274       LogLevel error
275
276       LogLevel info
277
278       LogLevel none
279
280       LogLevel notice
281
282       LogLevel warn
283            Specifies the logging level for the ErrorLog file.
284
285       LogTimeFormat standard
286
287       LogTimeFormat usecs
288            Specifies the format of the date and time in the log files.
289
290       MaxClients number
291            Specifies the maximum number of simultaneous clients to support.
292
293       MaxClientsPerHost number
294            Specifies  the  maximum  number of simultaneous clients to support
295            from a single address.
296
297       MaxCopies number
298            Specifies the maximum number of copies that a user  can  print  of
299            each job.
300
301       MaxHoldTime seconds
302            Specifies  the  maximum  time a job may remain in the "indefinite"
303            hold state before it is canceled. Set to 0 to disable cancellation
304            of held jobs.
305
306       MaxJobs number
307            Specifies the maximum number of simultaneous jobs to support.
308
309       MaxJobsPerPrinter number
310            Specifies  the  maximum number of simultaneous jobs per printer to
311            support.
312
313       MaxJobsPerUser number
314            Specifies the maximum number of simultaneous jobs per user to sup‐
315            port.
316
317       MaxJobTime seconds
318            Specifies  the  maximum  time a job may take to print before it is
319            canceled. The default is 10800 seconds (3 hours). Set to 0 to dis‐
320            able cancellation of "stuck" jobs.
321
322       MaxLogSize number-bytes
323            Specifies  the  maximum  size  of  the  log  files before they are
324            rotated (0 to disable rotation)
325
326       MaxRequestSize number-bytes
327            Specifies the maximum request/file size in bytes (0 for no limit)
328
329       MultipleOperationTimeout seconds
330            Specifies the maximum amount of time to allow between files  in  a
331            multiple file print job.
332
333       Order allow,deny
334
335       Order deny,allow
336            Specifies   the  order  of  HTTP  access  control  (allow,deny  or
337            deny,allow)
338
339       PageLogFormat format string
340            Specifies the format of page log lines.
341
342       PassEnv variable [... variable]
343            Passes the specified environment variable(s) to child processes.
344
345       <Policy name> ... </Policy>
346            Specifies access control for the named policy.
347
348       Port number
349            Specifies a port number to listen to for HTTP requests.
350
351       PreserveJobFiles Yes
352
353       PreserveJobFiles No
354            Specifies whether or not to preserve  job  files  after  they  are
355            printed.
356
357       PreserveJobHistory Yes
358
359       PreserveJobHistory No
360            Specifies  whether  or  not to preserve the job history after they
361            are printed.
362
363       PrintcapFormat bsd
364
365       PrintcapFormat plist
366
367       PrintcapFormat solaris
368            Specifies the format of the printcap file.
369
370       ReloadTimeout seconds
371            Specifies the amount of time to wait  for  job  completion  before
372            restarting the scheduler.
373
374       Require group group-name-list
375
376       Require user user-name-list
377
378       Require valid-user
379            Specifies that user or group authentication is required.
380
381       RIPCache bytes
382            Specifies  the  maximum  amount  of  memory to use when converting
383            images and PostScript files to bitmaps for a printer.
384
385       Satisfy all
386
387       Satisfy any
388            Specifies whether all or any limits set for  a  Location  must  be
389            satisfied to allow access.
390
391       ServerAdmin user@domain.com
392            Specifies the email address of the server administrator.
393
394       ServerAlias hostname [... hostname]
395
396       ServerAlias *
397            Specifies  an alternate name that the server is known by. The spe‐
398            cial name "*" allows any name to be used.
399
400       ServerName hostname-or-ip-address
401            Specifies the fully-qualified hostname of the server.
402
403       ServerTokens Full
404
405       ServerTokens Major
406
407       ServerTokens Minimal
408
409       ServerTokens Minor
410
411       ServerTokens None
412
413       ServerTokens OS
414
415       ServerTokens ProductOnly
416            Specifies what information is included in  the  Server  header  of
417            HTTP responses.
418
419       SetEnv variable value
420            Set  the specified environment variable to be passed to child pro‐
421            cesses.
422
423       SSLListen
424            Listens on the specified address and port  for  encrypted  connec‐
425            tions.
426
427       SSLOptions None
428
429       SSLOptions [NoEmptyFragments] [AllowRC4] [Allow SSL3] [MinTLS1.2]
430            Sets  SSL/TLS  protocol  options  for  encrypted  connections.  By
431            default, CUPS only supports encryption using TLS  v1.0  or  higher
432            using  known  secure  cipher  suites.  The NoEmptyFragments option
433            allows CUPS to work with Microsoft Windows with the  FIPS  confor‐
434            mance  mode  enabled.  The AllowRC4 option enables the 128-bit RC4
435            cipher suites, which are required for some older clients  that  do
436            not  implement  newer ones. The AllowSSL3 option enables SSL v3.0,
437            which is required for some older clients that do not  support  TLS
438            v1.0.   The  MinTLS1.2  option  enforces  CUPS to use TLS v1.2 and
439            higher.
440
441       SSLPort
442            Listens on the specified port for encrypted connections.
443
444       StrictConformance Yes
445
446       StrictConformance No
447            Specifies whether  the  scheduler  requires  clients  to  strictly
448            adhere to the IPP specifications. The default is No.
449
450       SubscriptionPrivateAccess all
451
452       SubscriptionPrivateAccess default
453
454       SubscriptionPrivateAccess {user|@group|@ACL|@OWNER|@SYSTEM}+
455            Specifies  an access list for a subscription's private values. The
456            "default" access list is "@OWNER  @SYSTEM".  "@ACL"  maps  to  the
457            printer's  requesting-user-name-allowed  or  requesting-user-name-
458            denied values.
459
460       SubscriptionPrivateValues all
461
462       SubscriptionPrivateValues default
463
464       SubscriptionPrivateValues none
465
466       SubscriptionPrivateValues attribute-name-1 [ ... attribute-name-N ]
467            Specifies the list of job values to make  private.  The  "default"
468            values  are "notify-events", "notify-pull-method", "notify-recipi‐
469            ent-uri", "notify-subscriber-user-name", and "notify-user-data".
470
471       Timeout seconds
472            Specifies the HTTP request timeout in seconds.
473
474       WebInterface yes
475
476       WebInterface no
477            Specifies whether the web interface is enabled.
478

SEE ALSO

480       classes.conf(5),    cups-files.conf(5),    cupsd(8),     mime.convs(5),
481       mime.types(5), printers.conf(5), subscriptions.conf(5),
482       http://localhost:631/help
483
485       Copyright 2007-2013 by Apple Inc.
486
487
488
48919 November 2012                     CUPS                        cupsd.conf(5)
Impressum