]> git.ipfire.org Git - thirdparty/cups.git/blame - man/cupsd.conf.man.in
Document cupsd.conf's IdleExitTimeout
[thirdparty/cups.git] / man / cupsd.conf.man.in
CommitLineData
ef416fc2 1.\"
e0660879 2.\" cupsd.conf man page for CUPS.
ef416fc2 3.\"
f80e6f38 4.\" Copyright 2007-2016 by Apple Inc.
e0660879 5.\" Copyright 1997-2006 by Easy Software Products.
ef416fc2 6.\"
e0660879
MS
7.\" These coded instructions, statements, and computer programs are the
8.\" property of Apple Inc. and are protected by Federal copyright
9.\" law. Distribution and use rights are outlined in the file "LICENSE.txt"
10.\" which should have been included with this file. If this file is
11.\" file is missing or damaged, see the license at "http://www.cups.org/".
ef416fc2 12.\"
f80e6f38 13.TH cupsd.conf 5 "CUPS" "29 March 2016" "Apple Inc."
ef416fc2 14.SH NAME
15cupsd.conf \- server configuration file for cups
16.SH DESCRIPTION
e0660879
MS
17The
18.I cupsd.conf
19file configures the CUPS scheduler,
20.BR cupsd (8).
2909c66c
MS
21It is normally located in the
22.I /etc/cups
25d0c3fe
MS
23directory.
24\fBNote:\fR File, directory, and user configuration directives that used to be allowed in the \fBcupsd.conf\fR file are now stored in the
25.BR cups-files.conf (5)
26file instead in order to prevent certain types of privilege escalation attacks.
ef416fc2 27.LP
25d0c3fe
MS
28Each line in the file can be a configuration directive, a blank line, or a comment.
29Configuration directives typically consist of a name and zero or more values separated by whitespace.
30The configuration directive name and values are case-insensitive.
31Comment lines start with the # character.
32.SS TOP-LEVEL DIRECTIVES
33The following top-level directives are understood by
34.BR cupsd (8):
37d9646b 35.\"#AccessLogLevel
ef416fc2 36.TP 5
25d0c3fe 37\fBAccessLogLevel config\fR
1f0275e3 38.TP 5
25d0c3fe 39\fBAccessLogLevel actions\fR
1f0275e3 40.TP 5
25d0c3fe 41\fBAccessLogLevel all\fR
1f0275e3 42Specifies the logging level for the AccessLog file.
25d0c3fe
MS
43The "config" level logs when printers and classes are added, deleted, or modified and when configuration files are accessed or updated.
44The "actions" level logs when print jobs are submitted, held, released, modified, or canceled, and any of the conditions for "config".
45The "all" level logs all requests.
46The default access log level is "actions".
37d9646b 47.\"#AutoPurgeJobs
1f0275e3 48.TP 5
25d0c3fe 49\fBAutoPurgeJobs Yes\fR
bd7854cb 50.TP 5
25d0c3fe 51\fBAutoPurgeJobs No\fR
ef416fc2 52.br
25d0c3fe
MS
53Specifies whether to purge job history data automatically when it is no longer required for quotas.
54The default is "No".
37d9646b 55.\"#BrowseLocalProtocols
ef416fc2 56.TP 5
25d0c3fe 57\fBBrowseLocalProtocols all\fR
ef416fc2 58.TP 5
25d0c3fe 59\fBBrowseLocalProtocols dnssd\fR
b19ccc9e 60.TP 5
25d0c3fe
MS
61\fBBrowseLocalProtocols none\fR
62Specifies which protocols to use for local printer sharing.
63The default is "dnssd" on systems that support Bonjour and "none" otherwise.
37d9646b 64.\"#BrowseWebIF
25d0c3fe
MS
65.TP 5
66\fBBrowseWebIF Yes\fR
67.TP 5
68\fBBrowseWebIF No\fR
b19ccc9e 69.br
25d0c3fe
MS
70Specifies whether the CUPS web interface is advertised.
71The default is "No".
37d9646b 72.\"#Browsing
b19ccc9e 73.TP 5
25d0c3fe 74\fBBrowsing Yes\fR
bd7854cb 75.TP 5
25d0c3fe 76\fBBrowsing No\fR
ef416fc2 77.br
25d0c3fe
MS
78Specifies whether shared printers are advertised.
79The default is "No".
37d9646b 80.\"#Classification
ef416fc2 81.TP 5
25d0c3fe 82\fBClassification \fIbanner\fR
ef416fc2 83.br
84Specifies the security classification of the server.
25d0c3fe
MS
85Any valid banner name can be used, including "classified", "confidential", "secret", "topsecret", and "unclassified", or the banner can be omitted to disable secure printing functions.
86The default is no classification banner.
37d9646b 87.\"#ClassifyOverride
ef416fc2 88.TP 5
25d0c3fe 89\fBClassifyOverride Yes\fR
bd7854cb 90.TP 5
25d0c3fe 91\fBClassifyOverride No\fR
ef416fc2 92.br
25d0c3fe
MS
93Specifies whether users may override the classification (cover page) of individual print jobs using the "job-sheets" option.
94The default is "No".
37d9646b 95.\"#DefaultAuthType
ef416fc2 96.TP 5
25d0c3fe 97\fBDefaultAuthType Basic\fR
bd7854cb 98.TP 5
25d0c3fe 99\fBDefaultAuthType Negotiate\fR
ef416fc2 100.br
101Specifies the default type of authentication to use.
25d0c3fe 102The default is "Basic".
37d9646b 103.\"#DefaultEncryption
ef416fc2 104.TP 5
25d0c3fe 105\fBDefaultEncryption Never\fR
8b450588 106.TP 5
25d0c3fe 107\fBDefaultEncryption IfRequested\fR
8b450588 108.TP 5
25d0c3fe
MS
109\fBDefaultEncryption Required\fR
110Specifies whether encryption will be used for authenticated requests.
111The default is "Required".
37d9646b 112.\"#DefaultLanguage
8b450588 113.TP 5
25d0c3fe 114\fBDefaultLanguage \fIlocale\fR
ef416fc2 115Specifies the default language to use for text and web content.
25d0c3fe 116The default is "en".
37d9646b 117.\"#DefaultPaperSize
ef416fc2 118.TP 5
25d0c3fe 119\fBDefaultPaperSize Auto\fR
49d87452 120.TP 5
25d0c3fe 121\fBDefaultPaperSize None\fR
49d87452 122.TP 5
25d0c3fe
MS
123\fBDefaultPaperSize \fIsizename\fR
124Specifies the default paper size for new print queues. "Auto" uses a locale-specific default, while "None" specifies there is no default paper size.
125Specific size names are typically "Letter" or "A4".
126The default is "Auto".
37d9646b 127.\"#DefaultPolicy
49d87452 128.TP 5
25d0c3fe 129\fBDefaultPolicy \fIpolicy-name\fR
ef416fc2 130Specifies the default access policy to use.
25d0c3fe 131The default access policy is "default".
37d9646b 132.\"#DefaultShared
ef416fc2 133.TP 5
25d0c3fe 134\fBDefaultShared Yes\fR
3d052e43 135.TP 5
25d0c3fe 136\fBDefaultShared No\fR
3d052e43 137Specifies whether local printers are shared by default.
25d0c3fe 138The default is "Yes".
37d9646b 139.\"#DirtyCleanInterval
25d0c3fe
MS
140.TP 5
141\fBDirtyCleanInterval \fIseconds\fR
142Specifies the delay for updating of configuration and state files.
143A value of 0 causes the update to happen as soon as possible, typically within a few milliseconds.
144The default value is "30".
37d9646b 145.\"#ErrorPolicy
25d0c3fe 146.TP 5
053939b3
MS
147\fBErrorPolicy abort-job\fR
148Specifies that a failed print job should be aborted (discarded) unless otherwise specified for the printer.
149.TP 5
150\fBErrorPolicy retry-job\fR
151Specifies that a failed print job should be retried at a later time unless otherwise specified for the printer.
152.TP 5
153\fBErrorPolicy retry-this-job\fR
154Specifies that a failed print job should be retried immediately unless otherwise specified for the printer.
155.TP 5
156\fBErrorPolicy stop-printer\fR
157Specifies that a failed print job should stop the printer unless otherwise specified for the printer. The 'stop-printer' error policy is the default.
37d9646b 158.\"#FilterLimit
053939b3 159.TP 5
25d0c3fe
MS
160\fBFilterLimit \fIlimit\fR
161Specifies the maximum cost of filters that are run concurrently, which can be used to minimize disk, memory, and CPU resource problems.
162A limit of 0 disables filter limiting.
163An average print to a non-PostScript printer needs a filter limit of about 200.
164A PostScript printer needs about half that (100).
165Setting the limit below these thresholds will effectively limit the scheduler to printing a single job at any time.
166The default limit is "0".
37d9646b 167.\"#FilterNice
25d0c3fe
MS
168.TP 5
169\fBFilterNice \fInice-value\fR
170Specifies the scheduling priority (
171.BR nice (8)
172value) of filters that are run to print a job.
173The nice value ranges from 0, the highest priority, to 19, the lowest priority.
174The default is 0.
37d9646b 175.\"#GSSServiceName
25d0c3fe
MS
176.TP 5
177\fBGSSServiceName \fIname\fR
178Specifies the service name when using Kerberos authentication.
179The default service name is "http."
180.TP 5
37d9646b 181.\"#HostNameLookups
25d0c3fe
MS
182\fBHostNameLookups On\fR
183.TP 5
184\fBHostNameLookups Off\fR
185.TP 5
186\fBHostNameLookups Double\fR
187Specifies whether to do reverse lookups on connecting clients.
188The "Double" setting causes
189.BR cupsd (8)
190to verify that the hostname resolved from the address matches one of the addresses returned for that hostname.
191Double lookups also prevent clients with unregistered addresses from connecting to your server.
192The default is "Off" to avoid the potential server performance problems with hostname lookups.
193Only set this option to "On" or "Double" if absolutely required.
c4412c12
BN
194.\"#IdleExitTimeout
195.TP 5
196\fBIdleExitTimeout \fIseconds\fR
197Only applicable when
198.BR cupsd (8)
199is run on-demand (e.g., with \fB-l\fR).
200Specifies the length of time to wait before shutting down due to inactivity.
201The default is "60".
37d9646b 202.\"#JobKillDelay
25d0c3fe
MS
203.TP 5
204\fBJobKillDelay \fIseconds\fR
205Specifies the number of seconds to wait before killing the filters and backend associated with a canceled or held job.
206The default is "30".
37d9646b 207.\"#JobRetryInterval
25d0c3fe
MS
208.TP 5
209\fBJobRetryInterval \fIseconds\fR
210Specifies the interval between retries of jobs in seconds.
211This is typically used for fax queues but can also be used with normal print queues whose error policy is "retry-job" or "retry-current-job".
212The default is "30".
37d9646b 213.\"#JobRetryLimit
3d052e43 214.TP 5
25d0c3fe
MS
215\fBJobRetryLimit \fIcount\fR
216Specifies the number of retries that are done for jobs.
217This is typically used for fax queues but can also be used with normal print queues whose error policy is "retry-job" or "retry-current-job".
218The default is "5".
37d9646b 219.\"#KeepAlive
4a4b4f99 220.TP 5
25d0c3fe 221\fBKeepAlive Yes\fR
ef416fc2 222.TP 5
25d0c3fe
MS
223\fBKeepAlive No\fR
224Specifies whether to support HTTP keep-alive connections.
225The default is "Yes".
37d9646b 226.\"#KeepAliveTimeout
ef416fc2 227.TP 5
25d0c3fe
MS
228\fBKeepAliveTimeout \fIseconds\fR
229Specifies how long an idle client connection remains open.
230The default is "30".
37d9646b 231.\"#LimitIPP
dcb445bc 232.TP 5
25d0c3fe
MS
233\fB<Limit \fIoperation \fR...\fB> \fR... \fB</Limit>\fR
234Specifies the IPP operations that are being limited inside a Policy section. IPP operation names are listed below in the section "IPP OPERATIONS".
37d9646b 235.\"#Limit
bd7854cb 236.TP 5
25d0c3fe 237\fB<Limit \fImethod \fR...\fB> \fR... \fB</Limit>\fR
37d9646b 238.\"#LimitExcept
bd7854cb 239.TP 5
25d0c3fe
MS
240\fB<LimitExcept \fImethod \fR...\fB> \fR... \fB</LimitExcept>\fR
241Specifies the HTTP methods that are being limited inside a Location section. HTTP method names are listed below in the section "HTTP METHODS".
37d9646b 242.\"#LimitRequestBody
ef416fc2 243.TP 5
25d0c3fe
MS
244\fBLimitRequestBody \fIsize\fR
245Specifies the maximum size of print files, IPP requests, and HTML form data.
246The default is "0" which disables the limit check.
37d9646b 247.\"#Listen
ef416fc2 248.TP 5
25d0c3fe 249\fBListen \fIipv4-address\fB:\fIport\fR
238c3832 250.TP 5
25d0c3fe 251\fBListen [\fIipv6-address\fB]:\fIport\fR
ef416fc2 252.TP 5
25d0c3fe 253\fBListen *:\fIport\fR
ef416fc2 254.TP 5
25d0c3fe
MS
255\fBListen \fI/path/to/domain/socket\fR
256Listens to the specified address and port or domain socket path for connections.
257Multiple Listen directives can be provided to listen on multiple addresses.
258The Listen directive is similar to the Port directive but allows you to restrict access to specific interfaces or networks.
37d9646b 259.\"#ListenBackLog
80ca4592 260.TP 5
25d0c3fe
MS
261\fBListenBackLog \fInumber\fR
262Specifies the number of pending connections that will be allowed.
263This normally only affects very busy servers that have reached the MaxClients limit, but can also be triggered by large numbers of simultaneous connections.
264When the limit is reached, the operating system will refuse additional connections until the scheduler can accept the pending ones.
265The default is the OS-defined default limit, typically either "5" for older operating systems or "128" for newer operating systems.
37d9646b 266.\"#Location
ef416fc2 267.TP 5
25d0c3fe
MS
268\fB<Location \fI/path\fB> \fR... \fB</Location>\fR
269Specifies access control for the named location.
270Paths are documented below in the section "LOCATION PATHS".
37d9646b 271.\"#LogDebugHistory
ef416fc2 272.TP 5
25d0c3fe
MS
273\fBLogDebugHistory \fInumber\fR
274Specifies the number of debugging messages that are retained for logging if an error occurs in a print job. Debug messages are logged regardless of the LogLevel setting.
37d9646b 275.\"#LogLevel
ef416fc2 276.TP 5
25d0c3fe 277\fBLogLevel \fRnone
ef416fc2 278.TP 5
25d0c3fe 279\fBLogLevel \fRemerg
ef416fc2 280.TP 5
25d0c3fe 281\fBLogLevel \fRalert
ef416fc2 282.TP 5
25d0c3fe 283\fBLogLevel \fRcrit
bd7854cb 284.TP 5
25d0c3fe 285\fBLogLevel \fRerror
ed486911 286.TP 5
25d0c3fe 287\fBLogLevel \fRwarn
ef416fc2 288.TP 5
25d0c3fe 289\fBLogLevel \fRnotice
ef416fc2 290.TP 5
25d0c3fe 291\fBLogLevel \fRinfo
178cb736 292.TP 5
25d0c3fe 293\fBLogLevel \fRdebug
bd7854cb 294.TP 5
25d0c3fe
MS
295\fBLogLevel \fRdebug2
296Specifies the level of logging for the ErrorLog file.
297The value "none" stops all logging while "debug2" logs everything.
298The default is "warn".
37d9646b 299.\"#LogTimeFormat
bd7854cb 300.TP 5
25d0c3fe 301\fBLogTimeFormat \fRstandard
bd7854cb 302.TP 5
25d0c3fe
MS
303\fBLogTimeFormat \fRusecs
304Specifies the format of the date and time in the log files.
305The value "standard" is the default and logs whole seconds while "usecs" logs microseconds.
37d9646b 306.\"#MaxClients
bd7854cb 307.TP 5
25d0c3fe
MS
308\fBMaxClients \fInumber\fR
309Specifies the maximum number of simultaneous clients that are allowed by the scheduler.
310The default is "100".
37d9646b 311.\"#MaxClientPerHost
bd7854cb 312.TP 5
25d0c3fe
MS
313\fBMaxClientsPerHost \fInumber\fR
314Specifies the maximum number of simultaneous clients that are allowed from a
315single address.
316The default is the MaxClients value.
37d9646b 317.\"#MaxCopies
bd7854cb 318.TP 5
25d0c3fe
MS
319\fBMaxCopies \fInumber\fR
320Specifies the maximum number of copies that a user can print of each job.
321The default is "9999".
37d9646b 322.\"#MaxHoldTime
25d0c3fe
MS
323.TP 5
324\fBMaxHoldTime \fIseconds\fR
325Specifies the maximum time a job may remain in the "indefinite" hold state before it is canceled.
326The default is "0" which disables cancellation of held jobs.
37d9646b 327.\"#MaxJobs
25d0c3fe
MS
328.TP 5
329\fBMaxJobs \fInumber\fR
330Specifies the maximum number of simultaneous jobs that are allowed.
331Set to "0" to allow an unlimited number of jobs.
332The default is "500".
37d9646b 333.\"#MaxJobsPerPrinter
25d0c3fe
MS
334.TP 5
335\fBMaxJobsPerPrinter \fInumber\fR
336Specifies the maximum number of simultaneous jobs that are allowed per printer.
337The default is "0" which allows up to MaxJobs jobs per printer.
37d9646b 338.\"#MaxJobsPerUser
25d0c3fe
MS
339.TP 5
340\fBMaxJobsPerUser \fInumber\fR
341Specifies the maximum number of simultaneous jobs that are allowed per user.
342The default is "0" which allows up to MaxJobs jobs per user.
37d9646b 343.\"#MaxJobTime
25d0c3fe
MS
344.TP 5
345\fBMaxJobTime \fIseconds\fR
346Specifies the maximum time a job may take to print before it is canceled.
347Set to "0" to disable cancellation of "stuck" jobs.
348The default is "10800" (3 hours).
37d9646b 349.\"#MaxLogSize
25d0c3fe
MS
350.TP 5
351\fBMaxLogSize \fIsize\fR
352Specifies the maximum size of the log files before they are rotated.
353The value "0" disables log rotation.
354The default is "1048576" (1MB).
37d9646b 355.\"#MultipleOperationTimeout
25d0c3fe
MS
356.TP 5
357\fBMultipleOperationTimeout \fIseconds\fR
358Specifies the maximum amount of time to allow between files in a multiple file print job.
359The default is "300" (5 minutes).
37d9646b 360.\"#PageLogFormat
25d0c3fe
MS
361.TP 5
362\fBPageLogFormat \fIformat-string\fR
363Specifies the format of PageLog lines.
364Sequences beginning with percent (%) characters are replaced with the corresponding information, while all other characters are copied literally.
365The following percent sequences are recognized:
366.nf
367
368 "%%" inserts a single percent character.
369 "%{name}" inserts the value of the specified IPP attribute.
370 "%C" inserts the number of copies for the current page.
371 "%P" inserts the current page number.
372 "%T" inserts the current date and time in common log format.
373 "%j" inserts the job ID.
374 "%p" inserts the printer name.
375 "%u" inserts the username.
376
377.fi
0d53bff1
MS
378The default is the empty string, which disables page logging.
379The string "%p %u %j %T %P %C %{job-billing} %{job-originating-host-name} %{job-name} %{media} %{sides}" creates a page log with the standard items.
37d9646b 380.\"#PassEnv
25d0c3fe
MS
381.TP 5
382\fBPassEnv \fIvariable \fR[ ... \fIvariable \fR]
383Passes the specified environment variable(s) to child processes.
37d9646b 384.\"#Policy
bd7854cb 385.TP 5
25d0c3fe
MS
386\fB<Policy \fIname\fB> \fR... \fB</Policy>\fR
387Specifies access control for the named policy.
37d9646b 388.\"#Port
bd7854cb 389.TP 5
25d0c3fe
MS
390\fBPort \fInumber\fR
391Listens to the specified port number for connections.
37d9646b 392.\"#PreserveJobFiles
bd7854cb 393.TP 5
25d0c3fe 394\fBPreserveJobFiles Yes\fR
ef416fc2 395.TP 5
25d0c3fe 396\fBPreserveJobFiles No\fR
dfd5680b 397.TP 5
25d0c3fe
MS
398\fBPreserveJobFiles \fIseconds\fR
399Specifies whether job files (documents) are preserved after a job is printed.
400If a numeric value is specified, job files are preserved for the indicated number of seconds after printing.
401The default is "86400" (preserve 1 day).
37d9646b 402.\"#PreserveJobHistory
dfd5680b 403.TP 5
25d0c3fe 404\fBPreserveJobHistory Yes\fR
ef416fc2 405.TP 5
25d0c3fe 406\fBPreserveJobHistory No\fR
ef416fc2 407.TP 5
25d0c3fe
MS
408\fBPreserveJobHistory \fIseconds\fR
409Specifies whether the job history is preserved after a job is printed.
410If a numeric value is specified, the job history is preserved for the indicated number of seconds after printing.
411If "Yes", the job history is preserved until the MaxJobs limit is reached.
412The default is "Yes".
37d9646b 413.\"#ReloadTimeout
ef416fc2 414.TP 5
25d0c3fe
MS
415\fBReloadTimeout \fIseconds\fR
416Specifies the amount of time to wait for job completion before restarting the scheduler.
417The default is "30".
37d9646b 418.\"#RIPCache
3e7fe0ca 419.TP 5
25d0c3fe
MS
420\fBRIPCache \fIsize\fR
421Specifies the maximum amount of memory to use when converting documents into bitmaps for a printer.
422The default is "128m".
37d9646b 423.\"#ServerAdmin
ef416fc2 424.TP 5
25d0c3fe
MS
425\fBServerAdmin \fIemail-address\fR
426Specifies the email address of the server administrator.
427The default value is "root@ServerName".
37d9646b 428.\"#ServerAlias
ef416fc2 429.TP 5
25d0c3fe 430\fBServerAlias \fIhostname \fR[ ... \fIhostname \fR]
ef416fc2 431.TP 5
25d0c3fe
MS
432\fBServerAlias *\fR
433The ServerAlias directive is used for HTTP Host header validation when clients connect to the scheduler from external interfaces.
434Using the special name "*" can expose your system to known browser-based DNS rebinding attacks, even when accessing sites through a firewall.
435If the auto-discovery of alternate names does not work, we recommend listing each alternate name with a ServerAlias directive instead of using "*".
37d9646b 436.\"#ServerName
dcb445bc 437.TP 5
25d0c3fe
MS
438\fBServerName \fIhostname\fR
439Specifies the fully-qualified hostname of the server.
440The default is the value reported by the
441.BR hostname (1)
442command.
37d9646b 443.\"#ServerTokens
ef416fc2 444.TP 5
25d0c3fe 445\fBServerTokens None\fR
ef416fc2 446.TP 5
25d0c3fe 447\fBServerTokens ProductOnly\fR
dfd5680b 448.TP 5
25d0c3fe 449\fBServerTokens Major\fR
01ce6322 450.TP 5
25d0c3fe 451\fBServerTokens Minor\fR
ef416fc2 452.TP 5
25d0c3fe 453\fBServerTokens Minimal\fR
ef416fc2 454.TP 5
25d0c3fe 455\fBServerTokens OS\fR
ef416fc2 456.TP 5
25d0c3fe
MS
457\fBServerTokens Full\fR
458Specifies what information is included in the Server header of HTTP responses.
459"None" disables the Server header.
460"ProductOnly" reports "CUPS".
461"Major" reports "CUPS 2".
462"Minor" reports "CUPS 2.0".
463"Minimal" reports "CUPS 2.0.0".
053939b3 464"OS" reports "CUPS 2.0.0 (UNAME)" where UNAME is the output of the
25d0c3fe
MS
465.BR uname (1)
466command.
467"Full" reports "CUPS 2.0.0 (UNAME) IPP/2.0".
468The default is "Minimal".
37d9646b 469.\"#SetEnv
bd7854cb 470.TP 5
25d0c3fe
MS
471\fBSetEnv \fIvariable value\fR
472Set the specified environment variable to be passed to child processes.
37d9646b 473.\"#SSLListen
bd7854cb 474.TP 5
25d0c3fe 475\fBSSLListen \fIipv4-address\fB:\fIport\fR
ef416fc2 476.TP 5
25d0c3fe 477\fBSSLListen [\fIipv6-address\fB]:\fIport\fR
ef416fc2 478.TP 5
25d0c3fe
MS
479\fBSSLListen *:\fIport\fR
480Listens on the specified address and port for encrypted connections.
37d9646b 481.\"#SSLOptions
0af14961 482.TP 5
63aefcd5
MS
483\fBSSLOptions \fR[\fIAllowRC4\fR] [\fIAllowSSL3\fR]
484.TP 5
485\fBSSLOptions None\fR
486Sets encryption options.
487By default, CUPS only supports encryption using TLS v1.0 or higher using known secure cipher suites.
488The \fIAllowRC4\fR option enables the 128-bit RC4 cipher suites, which are required for some older clients that do not implement newer ones.
489The \fIAllowSSL3\fR option enables SSL v3.0, which is required for some older clients that do not support TLS v1.0.
37d9646b 490.\"#SSLPort
63aefcd5 491.TP 5
25d0c3fe
MS
492\fBSSLPort \fIport\fR
493Listens on the specified port for encrypted connections.
37d9646b 494.\"#StrictConformance
ef416fc2 495.TP 5
25d0c3fe 496\fBStrictConformance Yes\fR
ef416fc2 497.TP 5
25d0c3fe
MS
498\fBStrictConformance No\fR
499Specifies whether the scheduler requires clients to strictly adhere to the IPP specifications.
500The default is "No".
37d9646b 501.\"#Timeout
ef416fc2 502.TP 5
25d0c3fe
MS
503\fBTimeout \fIseconds\fR
504Specifies the HTTP request timeout.
505The default is "300" (5 minutes).
37d9646b 506.\"#WebInterface
ef416fc2 507.TP 5
25d0c3fe 508\fBWebInterface yes\fR
ef416fc2 509.TP 5
25d0c3fe
MS
510\fBWebInterface no\fR
511Specifies whether the web interface is enabled.
512The default is "No".
513.SS HTTP METHOD NAMES
514The following HTTP methods are supported by
515.BR cupsd (8):
ef416fc2 516.TP 5
25d0c3fe
MS
517GET
518Used by a client to download icons and other printer resources and to access the CUPS web interface.
88f9aafc 519.TP 5
25d0c3fe
MS
520HEAD
521Used by a client to get the type, size, and modification date of resources.
e07d4801 522.TP 5
25d0c3fe
MS
523OPTIONS
524Used by a client to establish a secure (SSL/TLS) connection.
ef416fc2 525.TP 5
25d0c3fe
MS
526POST
527Used by a client to submit IPP requests and HTML forms from the CUPS web interface.
bd7854cb 528.TP 5
25d0c3fe
MS
529PUT
530Used by a client to upload configuration files.
531.SS IPP OPERATION NAMES
532The following IPP operations are supported by
533.BR cupsd (8):
bd7854cb 534.TP 5
25d0c3fe
MS
535CUPS\-Accept\-Jobs
536Allows a printer to accept new jobs.
bd7854cb 537.TP 5
25d0c3fe
MS
538CUPS\-Add\-Modify\-Class
539Adds or modifies a printer class.
bd7854cb 540.TP 5
25d0c3fe
MS
541CUPS\-Add\-Modify\-Printer
542Adds or modifies a printer.
bd7854cb 543.TP 5
25d0c3fe
MS
544CUPS\-Authenticate\-Job
545Releases a job that is held for authentication.
bd7854cb 546.TP 5
25d0c3fe
MS
547CUPS\-Delete\-Class
548Deletes a printer class.
ef416fc2 549.TP 5
25d0c3fe
MS
550CUPS\-Delete\-Printer
551Deletes a printer.
ef416fc2 552.TP 5
25d0c3fe
MS
553CUPS\-Get\-Classes
554Gets a list of printer classes.
ef416fc2 555.TP 5
25d0c3fe
MS
556CUPS\-Get\-Default
557Gets the server default printer or printer class.
ef416fc2 558.TP 5
25d0c3fe
MS
559CUPS\-Get\-Devices
560Gets a list of devices that are currently available.
a29fd7dd 561.TP 5
25d0c3fe
MS
562CUPS\-Get\-Document
563Gets a document file for a job.
a29fd7dd 564.TP 5
25d0c3fe
MS
565CUPS\-Get\-PPD
566Gets a PPD file.
e0660879 567.TP 5
25d0c3fe
MS
568CUPS\-Get\-PPDs
569Gets a list of installed PPD files.
e0660879 570.TP 5
25d0c3fe
MS
571CUPS\-Get\-Printers
572Gets a list of printers.
573.TP 5
574CUPS\-Move\-Job
575Moves a job.
576.TP 5
577CUPS\-Reject\-Jobs
578Prevents a printer from accepting new jobs.
579.TP 5
580CUPS\-Set\-Default
581Sets the server default printer or printer class.
582.TP 5
583Cancel\-Job
584Cancels a job.
585.TP 5
586Cancel\-Jobs
587Cancels one or more jobs.
588.TP 5
589Cancel\-My\-Jobs
590Cancels one or more jobs creates by a user.
591.TP 5
592Cancel\-Subscription
593Cancels a subscription.
594.TP 5
595Close\-Job
596Closes a job that is waiting for more documents.
597.TP 5
598Create\-Job
599Creates a new job with no documents.
600.TP 5
601Create\-Job\-Subscriptions
602Creates a subscription for job events.
603.TP 5
604Create\-Printer\-Subscriptions
605Creates a subscription for printer events.
606.TP 5
607Get\-Job\-Attributes
608Gets information about a job.
609.TP 5
610Get\-Jobs
611Gets a list of jobs.
612.TP 5
613Get\-Notifications
614Gets a list of event notifications for a subscription.
615.TP 5
616Get\-Printer\-Attributes
617Gets information about a printer or printer class.
618.TP 5
619Get\-Subscription\-Attributes
620Gets information about a subscription.
621.TP 5
622Get\-Subscriptions
623Gets a list of subscriptions.
624.TP 5
625Hold\-Job
626Holds a job from printing.
627.TP 5
628Hold\-New\-Jobs
629Holds all new jobs from printing.
630.TP 5
631Pause\-Printer
632Stops processing of jobs by a printer or printer class.
633.TP 5
634Pause\-Printer\-After\-Current\-Job
635Stops processing of jobs by a printer or printer class after the current job is finished.
636.TP 5
637Print\-Job
638Creates a new job with a single document.
639.TP 5
640Purge\-Jobs
641Cancels one or more jobs and deletes the job history.
642.TP 5
643Release\-Held\-New\-Jobs
644Allows previously held jobs to print.
645.TP 5
646Release\-Job
647Allows a job to print.
648.TP 5
649Renew\-Subscription
650Renews a subscription.
651.TP 5
652Restart\-Job
653Reprints a job, if possible.
654.TP 5
655Send\-Document
656Adds a document to a job.
657.TP 5
658Set\-Job\-Attributes
659Changes job information.
660.TP 5
661Set\-Printer\-Attributes
662Changes printer or printer class information.
663.TP 5
664Validate\-Job
665Validates options for a new job.
666.SS LOCATION PATHS
667The following paths are commonly used when configuring
668.BR cupsd (8):
669.TP 5
670/
671The path for all get operations (get-printers, get-jobs, etc.)
672.TP 5
673/admin
674The path for all administration operations (add-printer, delete-printer, start-printer, etc.)
675.TP 5
676/admin/conf
677The path for access to the CUPS configuration files (cupsd.conf, client.conf, etc.)
678.TP 5
679/admin/log
680The path for access to the CUPS log files (access_log, error_log, page_log)
681.TP 5
682/classes
683The path for all printer classes
684.TP 5
685/classes/name
686The resource for the named printer class
687.TP 5
688/jobs
689The path for all jobs (hold-job, release-job, etc.)
690.TP 5
691/jobs/id
692The path for the specified job.
693.TP 5
694/printers
695The path for all printers
696.TP 5
697/printers/name
698The path for the named printer
699.TP 5
700/printers/name.png
701The icon file path for the named printer
702.TP 5
703/printers/name.ppd
704The PPD file path for the named printer
705.SS DIRECTIVES VALID WITHIN LOCATION AND LIMIT SECTIONS
706The following directives may be placed inside Location and Limit sections in the \fBcupsd.conf\fR file:
707.TP 5
708\fBAllow all\fR
709.TP 5
710\fBAllow none\fR
711.TP 5
712\fBAllow \fIhost.domain.com\fR
713.TP 5
714\fBAllow *.\fIdomain.com\fR
715.TP 5
716\fBAllow \fIipv4-address\fR
717.TP 5
718\fBAllow \fIipv4-address\fB/\fInetmask\fR
719.TP 5
720\fBAllow \fIipv4-address\fB/\fImm\fR
e0660879 721.TP 5
25d0c3fe 722\fBAllow [\fIipv6-address\fB]\fR
e0660879 723.TP 5
25d0c3fe 724\fBAllow [\fIipv6-address\fB]/\fImm\fR
e0660879 725.TP 5
25d0c3fe 726\fBAllow @IF(\fIname\fB)\fR
e0660879 727.TP 5
25d0c3fe
MS
728\fBAllow @LOCAL\fR
729Allows access from the named hosts, domains, addresses, or interfaces.
730The Order directive controls whether Allow lines are evaluated before or after Deny lines.
e0660879 731.TP 5
25d0c3fe 732\fBAuthType None\fR
e0660879 733.TP 5
25d0c3fe 734\fBAuthType Basic\fR
e0660879 735.TP 5
25d0c3fe 736\fBAuthType Default\fR
e0660879 737.TP 5
25d0c3fe
MS
738\fBAuthType Negotiate\fR
739Specifies the type of authentication required.
740The value "Default" corresponds to the DefaultAuthType value.
e0660879 741.TP 5
25d0c3fe 742\fBDeny all\fR
e0660879 743.TP 5
25d0c3fe 744\fBDeny none\fR
e0660879 745.TP 5
25d0c3fe 746\fBDeny \fIhost.domain.com\fR
e0660879 747.TP 5
25d0c3fe 748\fBDeny *.\fIdomain.com\fR
e0660879 749.TP 5
25d0c3fe 750\fBDeny \fIipv4-address\fR
e0660879 751.TP 5
25d0c3fe 752\fBDeny \fIipv4-address\fB/\fInetmask\fR
e0660879 753.TP 5
25d0c3fe 754\fBDeny \fIipv4-address\fB/\fImm\fR
e0660879 755.TP 5
25d0c3fe 756\fBDeny [\fIipv6-address\fB]\fR
e0660879 757.TP 5
25d0c3fe 758\fBDeny [\fIipv6-address\fB]/\fImm\fR
e0660879 759.TP 5
25d0c3fe 760\fBDeny @IF(\fIname\fB)\fR
e0660879 761.TP 5
25d0c3fe
MS
762\fBDeny @LOCAL\fR
763Denies access from the named hosts, domains, addresses, or interfaces.
764The Order directive controls whether Deny lines are evaluated before or after Allow lines.
e0660879 765.TP 5
25d0c3fe 766\fBEncryption IfRequested\fR
e0660879 767.TP 5
25d0c3fe 768\fBEncryption Never\fR
e0660879 769.TP 5
25d0c3fe
MS
770\fBEncryption Required\fR
771Specifies the level of encryption that is required for a particular location.
772The default value is "IfRequested".
e0660879 773.TP 5
25d0c3fe
MS
774\fBOrder allow,deny\fR
775Specifies that access is denied by default. Allow lines are then processed followed by Deny lines to determine whether a client may access a particular resource.
e0660879 776.TP 5
25d0c3fe
MS
777\fBOrder deny,allow\fR
778Specifies that access is allowed by default. Deny lines are then processed followed by Allow lines to determine whether a client may access a particular resource.
e0660879 779.TP 5
25d0c3fe
MS
780\fBRequire group \fIgroup-name \fR[ \fIgroup-name \fR... ]
781Specifies that an authenticated user must be a member of one of the named groups.
e0660879 782.TP 5
25d0c3fe
MS
783\fBRequire user {\fIuser-name\fR|\fB@\fIgroup-name\fR} ...
784Specifies that an authenticated user must match one of the named users or be a member of one of the named groups.
785The group name "@SYSTEM" corresponds to the list of groups defined by the SystemGroup directive in the
786.BR cups-files.conf (5)
787file.
788The group name "@OWNER" corresponds to the owner of the resource, for example the person that submitted a print job.
f80e6f38 789Note: The 'root' user is not special and must be granted privileges like any other user account.
e0660879 790.TP 5
25d0c3fe
MS
791\fBRequire valid-user\fR
792Specifies that any authenticated user is acceptable.
e0660879 793.TP 5
25d0c3fe
MS
794\fBSatisfy all\fR
795Specifies that all Allow, AuthType, Deny, Order, and Require conditions must be satisfied to allow access.
e0660879 796.TP 5
25d0c3fe
MS
797\fBSatisfy any\fR
798Specifies that any a client may access a resource if either the authentication (AuthType/Require) or address (Allow/Deny/Order) conditions are satisfied.
799For example, this can be used to require authentication only for remote accesses.
800.SS DIRECTIVES VALID WITHIN POLICY SECTIONS
801The following directives may be placed inside Policy sections in the \fBcupsd.conf\fR file:
e0660879 802.TP 5
25d0c3fe 803\fBJobPrivateAccess all\fR
e0660879 804.TP 5
25d0c3fe 805\fBJobPrivateAccess default\fR
e0660879 806.TP 5
25d0c3fe
MS
807\fBJobPrivateAccess \fR{\fIuser\fR|\fB@\fIgroup\fR|\fB@ACL\fR|\fB@OWNER\fR|\fB@SYSTEM\fR} ...
808Specifies an access list for a job's private values.
809The "default" access list is "@OWNER @SYSTEM".
810"@ACL" maps to the printer's requesting-user-name-allowed or requesting-user-name-denied values.
811"@OWNER" maps to the job's owner.
812"@SYSTEM" maps to the groups listed for the SystemGroup directive in the
813.BR cups-files.conf (5)
814file.
e0660879 815.TP 5
25d0c3fe 816\fBJobPrivateValues all\fR
e0660879 817.TP 5
25d0c3fe 818\fBJobPrivateValues default\fR
e0660879 819.TP 5
25d0c3fe 820\fBJobPrivateValues none\fR
e0660879 821.TP 5
25d0c3fe
MS
822\fBJobPrivateValues \fIattribute-name \fR[ ... \fIattribute-name \fR]
823Specifies the list of job values to make private.
824The "default" values are "job-name", "job-originating-host-name", "job-originating-user-name", and "phone".
e0660879 825.TP 5
25d0c3fe 826\fBSubscriptionPrivateAccess all\fR
10d09e33 827.TP 5
25d0c3fe 828\fBSubscriptionPrivateAccess default\fR
10d09e33 829.TP 5
25d0c3fe
MS
830\fBSubscriptionPrivateAccess \fR{\fIuser\fR|\fB@\fIgroup\fR|\fB@ACL\fR|\fB@OWNER\fR|\fB@SYSTEM\fR} ...
831Specifies an access list for a subscription's private values.
832The "default" access list is "@OWNER @SYSTEM".
833"@ACL" maps to the printer's requesting-user-name-allowed or requesting-user-name-denied values.
834"@OWNER" maps to the job's owner.
835"@SYSTEM" maps to the groups listed for the SystemGroup directive in the
836.BR cups-files.conf (5)
837file.
10d09e33 838.TP 5
25d0c3fe 839\fBSubscriptionPrivateValues all\fR
10d09e33 840.TP 5
25d0c3fe 841\fBSubscriptionPrivateValues default\fR
10d09e33 842.TP 5
25d0c3fe 843\fBSubscriptionPrivateValues none\fR
10d09e33 844.TP 5
25d0c3fe
MS
845\fBSubscriptionPrivateValues \fIattribute-name \fR[ ... \fIattribute-name \fR]
846Specifies the list of subscription values to make private.
847The "default" values are "notify-events", "notify-pull-method", "notify-recipient-uri", "notify-subscriber-user-name", and "notify-user-data".
848.SH CONFORMING TO
849The \fBcupsd.conf\fR file format is based on the Apache HTTP Server configuration file format.
850.SH EXAMPLES
851Log everything with a maximum log file size of 32 megabytes:
852.nf
853
854 AccessLogLevel all
855 LogLevel debug2
856 MaxLogSize 32m
857
858.fi
859Require authentication for accesses from outside the 10. network:
860.nf
861
862 <Location />
863 Order allow,deny
864 Allow from 10./8
865 AuthType Basic
866 Require valid-user
867 Satisfy any
868 </Location>
869.fi
ef416fc2 870.SH SEE ALSO
25d0c3fe
MS
871.BR classes.conf (5),
872.BR cups-files.conf (5),
873.BR cupsd (8),
874.BR mime.convs (5),
875.BR mime.types (5),
876.BR printers.conf (5),
877.BR subscriptions.conf (5),
878CUPS Online Help (http://localhost:631/help)
ef416fc2 879.SH COPYRIGHT
f80e6f38 880Copyright \[co] 2007-2016 by Apple Inc.