]> git.ipfire.org Git - thirdparty/cups.git/blame - man/cupsd.conf.man.in
Documentation changes (Issue #4781)
[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.
37d9646b 194.\"#JobKillDelay
25d0c3fe
MS
195.TP 5
196\fBJobKillDelay \fIseconds\fR
197Specifies the number of seconds to wait before killing the filters and backend associated with a canceled or held job.
198The default is "30".
37d9646b 199.\"#JobRetryInterval
25d0c3fe
MS
200.TP 5
201\fBJobRetryInterval \fIseconds\fR
202Specifies the interval between retries of jobs in seconds.
203This 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".
204The default is "30".
37d9646b 205.\"#JobRetryLimit
3d052e43 206.TP 5
25d0c3fe
MS
207\fBJobRetryLimit \fIcount\fR
208Specifies the number of retries that are done for jobs.
209This 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".
210The default is "5".
37d9646b 211.\"#KeepAlive
4a4b4f99 212.TP 5
25d0c3fe 213\fBKeepAlive Yes\fR
ef416fc2 214.TP 5
25d0c3fe
MS
215\fBKeepAlive No\fR
216Specifies whether to support HTTP keep-alive connections.
217The default is "Yes".
37d9646b 218.\"#KeepAliveTimeout
ef416fc2 219.TP 5
25d0c3fe
MS
220\fBKeepAliveTimeout \fIseconds\fR
221Specifies how long an idle client connection remains open.
222The default is "30".
37d9646b 223.\"#LimitIPP
dcb445bc 224.TP 5
25d0c3fe
MS
225\fB<Limit \fIoperation \fR...\fB> \fR... \fB</Limit>\fR
226Specifies the IPP operations that are being limited inside a Policy section. IPP operation names are listed below in the section "IPP OPERATIONS".
37d9646b 227.\"#Limit
bd7854cb 228.TP 5
25d0c3fe 229\fB<Limit \fImethod \fR...\fB> \fR... \fB</Limit>\fR
37d9646b 230.\"#LimitExcept
bd7854cb 231.TP 5
25d0c3fe
MS
232\fB<LimitExcept \fImethod \fR...\fB> \fR... \fB</LimitExcept>\fR
233Specifies the HTTP methods that are being limited inside a Location section. HTTP method names are listed below in the section "HTTP METHODS".
37d9646b 234.\"#LimitRequestBody
ef416fc2 235.TP 5
25d0c3fe
MS
236\fBLimitRequestBody \fIsize\fR
237Specifies the maximum size of print files, IPP requests, and HTML form data.
238The default is "0" which disables the limit check.
37d9646b 239.\"#Listen
ef416fc2 240.TP 5
25d0c3fe 241\fBListen \fIipv4-address\fB:\fIport\fR
238c3832 242.TP 5
25d0c3fe 243\fBListen [\fIipv6-address\fB]:\fIport\fR
ef416fc2 244.TP 5
25d0c3fe 245\fBListen *:\fIport\fR
ef416fc2 246.TP 5
25d0c3fe
MS
247\fBListen \fI/path/to/domain/socket\fR
248Listens to the specified address and port or domain socket path for connections.
249Multiple Listen directives can be provided to listen on multiple addresses.
250The Listen directive is similar to the Port directive but allows you to restrict access to specific interfaces or networks.
37d9646b 251.\"#ListenBackLog
80ca4592 252.TP 5
25d0c3fe
MS
253\fBListenBackLog \fInumber\fR
254Specifies the number of pending connections that will be allowed.
255This normally only affects very busy servers that have reached the MaxClients limit, but can also be triggered by large numbers of simultaneous connections.
256When the limit is reached, the operating system will refuse additional connections until the scheduler can accept the pending ones.
257The default is the OS-defined default limit, typically either "5" for older operating systems or "128" for newer operating systems.
37d9646b 258.\"#Location
ef416fc2 259.TP 5
25d0c3fe
MS
260\fB<Location \fI/path\fB> \fR... \fB</Location>\fR
261Specifies access control for the named location.
262Paths are documented below in the section "LOCATION PATHS".
37d9646b 263.\"#LogDebugHistory
ef416fc2 264.TP 5
25d0c3fe
MS
265\fBLogDebugHistory \fInumber\fR
266Specifies 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 267.\"#LogLevel
ef416fc2 268.TP 5
25d0c3fe 269\fBLogLevel \fRnone
ef416fc2 270.TP 5
25d0c3fe 271\fBLogLevel \fRemerg
ef416fc2 272.TP 5
25d0c3fe 273\fBLogLevel \fRalert
ef416fc2 274.TP 5
25d0c3fe 275\fBLogLevel \fRcrit
bd7854cb 276.TP 5
25d0c3fe 277\fBLogLevel \fRerror
ed486911 278.TP 5
25d0c3fe 279\fBLogLevel \fRwarn
ef416fc2 280.TP 5
25d0c3fe 281\fBLogLevel \fRnotice
ef416fc2 282.TP 5
25d0c3fe 283\fBLogLevel \fRinfo
178cb736 284.TP 5
25d0c3fe 285\fBLogLevel \fRdebug
bd7854cb 286.TP 5
25d0c3fe
MS
287\fBLogLevel \fRdebug2
288Specifies the level of logging for the ErrorLog file.
289The value "none" stops all logging while "debug2" logs everything.
290The default is "warn".
37d9646b 291.\"#LogTimeFormat
bd7854cb 292.TP 5
25d0c3fe 293\fBLogTimeFormat \fRstandard
bd7854cb 294.TP 5
25d0c3fe
MS
295\fBLogTimeFormat \fRusecs
296Specifies the format of the date and time in the log files.
297The value "standard" is the default and logs whole seconds while "usecs" logs microseconds.
37d9646b 298.\"#MaxClients
bd7854cb 299.TP 5
25d0c3fe
MS
300\fBMaxClients \fInumber\fR
301Specifies the maximum number of simultaneous clients that are allowed by the scheduler.
302The default is "100".
37d9646b 303.\"#MaxClientPerHost
bd7854cb 304.TP 5
25d0c3fe
MS
305\fBMaxClientsPerHost \fInumber\fR
306Specifies the maximum number of simultaneous clients that are allowed from a
307single address.
308The default is the MaxClients value.
37d9646b 309.\"#MaxCopies
bd7854cb 310.TP 5
25d0c3fe
MS
311\fBMaxCopies \fInumber\fR
312Specifies the maximum number of copies that a user can print of each job.
313The default is "9999".
37d9646b 314.\"#MaxHoldTime
25d0c3fe
MS
315.TP 5
316\fBMaxHoldTime \fIseconds\fR
317Specifies the maximum time a job may remain in the "indefinite" hold state before it is canceled.
318The default is "0" which disables cancellation of held jobs.
37d9646b 319.\"#MaxJobs
25d0c3fe
MS
320.TP 5
321\fBMaxJobs \fInumber\fR
322Specifies the maximum number of simultaneous jobs that are allowed.
323Set to "0" to allow an unlimited number of jobs.
324The default is "500".
37d9646b 325.\"#MaxJobsPerPrinter
25d0c3fe
MS
326.TP 5
327\fBMaxJobsPerPrinter \fInumber\fR
328Specifies the maximum number of simultaneous jobs that are allowed per printer.
329The default is "0" which allows up to MaxJobs jobs per printer.
37d9646b 330.\"#MaxJobsPerUser
25d0c3fe
MS
331.TP 5
332\fBMaxJobsPerUser \fInumber\fR
333Specifies the maximum number of simultaneous jobs that are allowed per user.
334The default is "0" which allows up to MaxJobs jobs per user.
37d9646b 335.\"#MaxJobTime
25d0c3fe
MS
336.TP 5
337\fBMaxJobTime \fIseconds\fR
338Specifies the maximum time a job may take to print before it is canceled.
339Set to "0" to disable cancellation of "stuck" jobs.
340The default is "10800" (3 hours).
37d9646b 341.\"#MaxLogSize
25d0c3fe
MS
342.TP 5
343\fBMaxLogSize \fIsize\fR
344Specifies the maximum size of the log files before they are rotated.
345The value "0" disables log rotation.
346The default is "1048576" (1MB).
37d9646b 347.\"#MultipleOperationTimeout
25d0c3fe
MS
348.TP 5
349\fBMultipleOperationTimeout \fIseconds\fR
350Specifies the maximum amount of time to allow between files in a multiple file print job.
351The default is "300" (5 minutes).
37d9646b 352.\"#PageLogFormat
25d0c3fe
MS
353.TP 5
354\fBPageLogFormat \fIformat-string\fR
355Specifies the format of PageLog lines.
356Sequences beginning with percent (%) characters are replaced with the corresponding information, while all other characters are copied literally.
357The following percent sequences are recognized:
358.nf
359
360 "%%" inserts a single percent character.
361 "%{name}" inserts the value of the specified IPP attribute.
362 "%C" inserts the number of copies for the current page.
363 "%P" inserts the current page number.
364 "%T" inserts the current date and time in common log format.
365 "%j" inserts the job ID.
366 "%p" inserts the printer name.
367 "%u" inserts the username.
368
369.fi
0d53bff1
MS
370The default is the empty string, which disables page logging.
371The 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 372.\"#PassEnv
25d0c3fe
MS
373.TP 5
374\fBPassEnv \fIvariable \fR[ ... \fIvariable \fR]
375Passes the specified environment variable(s) to child processes.
37d9646b 376.\"#Policy
bd7854cb 377.TP 5
25d0c3fe
MS
378\fB<Policy \fIname\fB> \fR... \fB</Policy>\fR
379Specifies access control for the named policy.
37d9646b 380.\"#Port
bd7854cb 381.TP 5
25d0c3fe
MS
382\fBPort \fInumber\fR
383Listens to the specified port number for connections.
37d9646b 384.\"#PreserveJobFiles
bd7854cb 385.TP 5
25d0c3fe 386\fBPreserveJobFiles Yes\fR
ef416fc2 387.TP 5
25d0c3fe 388\fBPreserveJobFiles No\fR
dfd5680b 389.TP 5
25d0c3fe
MS
390\fBPreserveJobFiles \fIseconds\fR
391Specifies whether job files (documents) are preserved after a job is printed.
392If a numeric value is specified, job files are preserved for the indicated number of seconds after printing.
393The default is "86400" (preserve 1 day).
37d9646b 394.\"#PreserveJobHistory
dfd5680b 395.TP 5
25d0c3fe 396\fBPreserveJobHistory Yes\fR
ef416fc2 397.TP 5
25d0c3fe 398\fBPreserveJobHistory No\fR
ef416fc2 399.TP 5
25d0c3fe
MS
400\fBPreserveJobHistory \fIseconds\fR
401Specifies whether the job history is preserved after a job is printed.
402If a numeric value is specified, the job history is preserved for the indicated number of seconds after printing.
403If "Yes", the job history is preserved until the MaxJobs limit is reached.
404The default is "Yes".
37d9646b 405.\"#ReloadTimeout
ef416fc2 406.TP 5
25d0c3fe
MS
407\fBReloadTimeout \fIseconds\fR
408Specifies the amount of time to wait for job completion before restarting the scheduler.
409The default is "30".
37d9646b 410.\"#RIPCache
3e7fe0ca 411.TP 5
25d0c3fe
MS
412\fBRIPCache \fIsize\fR
413Specifies the maximum amount of memory to use when converting documents into bitmaps for a printer.
414The default is "128m".
37d9646b 415.\"#ServerAdmin
ef416fc2 416.TP 5
25d0c3fe
MS
417\fBServerAdmin \fIemail-address\fR
418Specifies the email address of the server administrator.
419The default value is "root@ServerName".
37d9646b 420.\"#ServerAlias
ef416fc2 421.TP 5
25d0c3fe 422\fBServerAlias \fIhostname \fR[ ... \fIhostname \fR]
ef416fc2 423.TP 5
25d0c3fe
MS
424\fBServerAlias *\fR
425The ServerAlias directive is used for HTTP Host header validation when clients connect to the scheduler from external interfaces.
426Using the special name "*" can expose your system to known browser-based DNS rebinding attacks, even when accessing sites through a firewall.
427If the auto-discovery of alternate names does not work, we recommend listing each alternate name with a ServerAlias directive instead of using "*".
37d9646b 428.\"#ServerName
dcb445bc 429.TP 5
25d0c3fe
MS
430\fBServerName \fIhostname\fR
431Specifies the fully-qualified hostname of the server.
432The default is the value reported by the
433.BR hostname (1)
434command.
37d9646b 435.\"#ServerTokens
ef416fc2 436.TP 5
25d0c3fe 437\fBServerTokens None\fR
ef416fc2 438.TP 5
25d0c3fe 439\fBServerTokens ProductOnly\fR
dfd5680b 440.TP 5
25d0c3fe 441\fBServerTokens Major\fR
01ce6322 442.TP 5
25d0c3fe 443\fBServerTokens Minor\fR
ef416fc2 444.TP 5
25d0c3fe 445\fBServerTokens Minimal\fR
ef416fc2 446.TP 5
25d0c3fe 447\fBServerTokens OS\fR
ef416fc2 448.TP 5
25d0c3fe
MS
449\fBServerTokens Full\fR
450Specifies what information is included in the Server header of HTTP responses.
451"None" disables the Server header.
452"ProductOnly" reports "CUPS".
453"Major" reports "CUPS 2".
454"Minor" reports "CUPS 2.0".
455"Minimal" reports "CUPS 2.0.0".
053939b3 456"OS" reports "CUPS 2.0.0 (UNAME)" where UNAME is the output of the
25d0c3fe
MS
457.BR uname (1)
458command.
459"Full" reports "CUPS 2.0.0 (UNAME) IPP/2.0".
460The default is "Minimal".
37d9646b 461.\"#SetEnv
bd7854cb 462.TP 5
25d0c3fe
MS
463\fBSetEnv \fIvariable value\fR
464Set the specified environment variable to be passed to child processes.
37d9646b 465.\"#SSLListen
bd7854cb 466.TP 5
25d0c3fe 467\fBSSLListen \fIipv4-address\fB:\fIport\fR
ef416fc2 468.TP 5
25d0c3fe 469\fBSSLListen [\fIipv6-address\fB]:\fIport\fR
ef416fc2 470.TP 5
25d0c3fe
MS
471\fBSSLListen *:\fIport\fR
472Listens on the specified address and port for encrypted connections.
37d9646b 473.\"#SSLOptions
0af14961 474.TP 5
63aefcd5
MS
475\fBSSLOptions \fR[\fIAllowRC4\fR] [\fIAllowSSL3\fR]
476.TP 5
477\fBSSLOptions None\fR
478Sets encryption options.
479By default, CUPS only supports encryption using TLS v1.0 or higher using known secure cipher suites.
480The \fIAllowRC4\fR option enables the 128-bit RC4 cipher suites, which are required for some older clients that do not implement newer ones.
481The \fIAllowSSL3\fR option enables SSL v3.0, which is required for some older clients that do not support TLS v1.0.
37d9646b 482.\"#SSLPort
63aefcd5 483.TP 5
25d0c3fe
MS
484\fBSSLPort \fIport\fR
485Listens on the specified port for encrypted connections.
37d9646b 486.\"#StrictConformance
ef416fc2 487.TP 5
25d0c3fe 488\fBStrictConformance Yes\fR
ef416fc2 489.TP 5
25d0c3fe
MS
490\fBStrictConformance No\fR
491Specifies whether the scheduler requires clients to strictly adhere to the IPP specifications.
492The default is "No".
37d9646b 493.\"#Timeout
ef416fc2 494.TP 5
25d0c3fe
MS
495\fBTimeout \fIseconds\fR
496Specifies the HTTP request timeout.
497The default is "300" (5 minutes).
37d9646b 498.\"#WebInterface
ef416fc2 499.TP 5
25d0c3fe 500\fBWebInterface yes\fR
ef416fc2 501.TP 5
25d0c3fe
MS
502\fBWebInterface no\fR
503Specifies whether the web interface is enabled.
504The default is "No".
505.SS HTTP METHOD NAMES
506The following HTTP methods are supported by
507.BR cupsd (8):
ef416fc2 508.TP 5
25d0c3fe
MS
509GET
510Used by a client to download icons and other printer resources and to access the CUPS web interface.
88f9aafc 511.TP 5
25d0c3fe
MS
512HEAD
513Used by a client to get the type, size, and modification date of resources.
e07d4801 514.TP 5
25d0c3fe
MS
515OPTIONS
516Used by a client to establish a secure (SSL/TLS) connection.
ef416fc2 517.TP 5
25d0c3fe
MS
518POST
519Used by a client to submit IPP requests and HTML forms from the CUPS web interface.
bd7854cb 520.TP 5
25d0c3fe
MS
521PUT
522Used by a client to upload configuration files.
523.SS IPP OPERATION NAMES
524The following IPP operations are supported by
525.BR cupsd (8):
bd7854cb 526.TP 5
25d0c3fe
MS
527CUPS\-Accept\-Jobs
528Allows a printer to accept new jobs.
bd7854cb 529.TP 5
25d0c3fe
MS
530CUPS\-Add\-Modify\-Class
531Adds or modifies a printer class.
bd7854cb 532.TP 5
25d0c3fe
MS
533CUPS\-Add\-Modify\-Printer
534Adds or modifies a printer.
bd7854cb 535.TP 5
25d0c3fe
MS
536CUPS\-Authenticate\-Job
537Releases a job that is held for authentication.
bd7854cb 538.TP 5
25d0c3fe
MS
539CUPS\-Delete\-Class
540Deletes a printer class.
ef416fc2 541.TP 5
25d0c3fe
MS
542CUPS\-Delete\-Printer
543Deletes a printer.
ef416fc2 544.TP 5
25d0c3fe
MS
545CUPS\-Get\-Classes
546Gets a list of printer classes.
ef416fc2 547.TP 5
25d0c3fe
MS
548CUPS\-Get\-Default
549Gets the server default printer or printer class.
ef416fc2 550.TP 5
25d0c3fe
MS
551CUPS\-Get\-Devices
552Gets a list of devices that are currently available.
a29fd7dd 553.TP 5
25d0c3fe
MS
554CUPS\-Get\-Document
555Gets a document file for a job.
a29fd7dd 556.TP 5
25d0c3fe
MS
557CUPS\-Get\-PPD
558Gets a PPD file.
e0660879 559.TP 5
25d0c3fe
MS
560CUPS\-Get\-PPDs
561Gets a list of installed PPD files.
e0660879 562.TP 5
25d0c3fe
MS
563CUPS\-Get\-Printers
564Gets a list of printers.
565.TP 5
566CUPS\-Move\-Job
567Moves a job.
568.TP 5
569CUPS\-Reject\-Jobs
570Prevents a printer from accepting new jobs.
571.TP 5
572CUPS\-Set\-Default
573Sets the server default printer or printer class.
574.TP 5
575Cancel\-Job
576Cancels a job.
577.TP 5
578Cancel\-Jobs
579Cancels one or more jobs.
580.TP 5
581Cancel\-My\-Jobs
582Cancels one or more jobs creates by a user.
583.TP 5
584Cancel\-Subscription
585Cancels a subscription.
586.TP 5
587Close\-Job
588Closes a job that is waiting for more documents.
589.TP 5
590Create\-Job
591Creates a new job with no documents.
592.TP 5
593Create\-Job\-Subscriptions
594Creates a subscription for job events.
595.TP 5
596Create\-Printer\-Subscriptions
597Creates a subscription for printer events.
598.TP 5
599Get\-Job\-Attributes
600Gets information about a job.
601.TP 5
602Get\-Jobs
603Gets a list of jobs.
604.TP 5
605Get\-Notifications
606Gets a list of event notifications for a subscription.
607.TP 5
608Get\-Printer\-Attributes
609Gets information about a printer or printer class.
610.TP 5
611Get\-Subscription\-Attributes
612Gets information about a subscription.
613.TP 5
614Get\-Subscriptions
615Gets a list of subscriptions.
616.TP 5
617Hold\-Job
618Holds a job from printing.
619.TP 5
620Hold\-New\-Jobs
621Holds all new jobs from printing.
622.TP 5
623Pause\-Printer
624Stops processing of jobs by a printer or printer class.
625.TP 5
626Pause\-Printer\-After\-Current\-Job
627Stops processing of jobs by a printer or printer class after the current job is finished.
628.TP 5
629Print\-Job
630Creates a new job with a single document.
631.TP 5
632Purge\-Jobs
633Cancels one or more jobs and deletes the job history.
634.TP 5
635Release\-Held\-New\-Jobs
636Allows previously held jobs to print.
637.TP 5
638Release\-Job
639Allows a job to print.
640.TP 5
641Renew\-Subscription
642Renews a subscription.
643.TP 5
644Restart\-Job
645Reprints a job, if possible.
646.TP 5
647Send\-Document
648Adds a document to a job.
649.TP 5
650Set\-Job\-Attributes
651Changes job information.
652.TP 5
653Set\-Printer\-Attributes
654Changes printer or printer class information.
655.TP 5
656Validate\-Job
657Validates options for a new job.
658.SS LOCATION PATHS
659The following paths are commonly used when configuring
660.BR cupsd (8):
661.TP 5
662/
663The path for all get operations (get-printers, get-jobs, etc.)
664.TP 5
665/admin
666The path for all administration operations (add-printer, delete-printer, start-printer, etc.)
667.TP 5
668/admin/conf
669The path for access to the CUPS configuration files (cupsd.conf, client.conf, etc.)
670.TP 5
671/admin/log
672The path for access to the CUPS log files (access_log, error_log, page_log)
673.TP 5
674/classes
675The path for all printer classes
676.TP 5
677/classes/name
678The resource for the named printer class
679.TP 5
680/jobs
681The path for all jobs (hold-job, release-job, etc.)
682.TP 5
683/jobs/id
684The path for the specified job.
685.TP 5
686/printers
687The path for all printers
688.TP 5
689/printers/name
690The path for the named printer
691.TP 5
692/printers/name.png
693The icon file path for the named printer
694.TP 5
695/printers/name.ppd
696The PPD file path for the named printer
697.SS DIRECTIVES VALID WITHIN LOCATION AND LIMIT SECTIONS
698The following directives may be placed inside Location and Limit sections in the \fBcupsd.conf\fR file:
699.TP 5
700\fBAllow all\fR
701.TP 5
702\fBAllow none\fR
703.TP 5
704\fBAllow \fIhost.domain.com\fR
705.TP 5
706\fBAllow *.\fIdomain.com\fR
707.TP 5
708\fBAllow \fIipv4-address\fR
709.TP 5
710\fBAllow \fIipv4-address\fB/\fInetmask\fR
711.TP 5
712\fBAllow \fIipv4-address\fB/\fImm\fR
e0660879 713.TP 5
25d0c3fe 714\fBAllow [\fIipv6-address\fB]\fR
e0660879 715.TP 5
25d0c3fe 716\fBAllow [\fIipv6-address\fB]/\fImm\fR
e0660879 717.TP 5
25d0c3fe 718\fBAllow @IF(\fIname\fB)\fR
e0660879 719.TP 5
25d0c3fe
MS
720\fBAllow @LOCAL\fR
721Allows access from the named hosts, domains, addresses, or interfaces.
722The Order directive controls whether Allow lines are evaluated before or after Deny lines.
e0660879 723.TP 5
25d0c3fe 724\fBAuthType None\fR
e0660879 725.TP 5
25d0c3fe 726\fBAuthType Basic\fR
e0660879 727.TP 5
25d0c3fe 728\fBAuthType Default\fR
e0660879 729.TP 5
25d0c3fe
MS
730\fBAuthType Negotiate\fR
731Specifies the type of authentication required.
732The value "Default" corresponds to the DefaultAuthType value.
e0660879 733.TP 5
25d0c3fe 734\fBDeny all\fR
e0660879 735.TP 5
25d0c3fe 736\fBDeny none\fR
e0660879 737.TP 5
25d0c3fe 738\fBDeny \fIhost.domain.com\fR
e0660879 739.TP 5
25d0c3fe 740\fBDeny *.\fIdomain.com\fR
e0660879 741.TP 5
25d0c3fe 742\fBDeny \fIipv4-address\fR
e0660879 743.TP 5
25d0c3fe 744\fBDeny \fIipv4-address\fB/\fInetmask\fR
e0660879 745.TP 5
25d0c3fe 746\fBDeny \fIipv4-address\fB/\fImm\fR
e0660879 747.TP 5
25d0c3fe 748\fBDeny [\fIipv6-address\fB]\fR
e0660879 749.TP 5
25d0c3fe 750\fBDeny [\fIipv6-address\fB]/\fImm\fR
e0660879 751.TP 5
25d0c3fe 752\fBDeny @IF(\fIname\fB)\fR
e0660879 753.TP 5
25d0c3fe
MS
754\fBDeny @LOCAL\fR
755Denies access from the named hosts, domains, addresses, or interfaces.
756The Order directive controls whether Deny lines are evaluated before or after Allow lines.
e0660879 757.TP 5
25d0c3fe 758\fBEncryption IfRequested\fR
e0660879 759.TP 5
25d0c3fe 760\fBEncryption Never\fR
e0660879 761.TP 5
25d0c3fe
MS
762\fBEncryption Required\fR
763Specifies the level of encryption that is required for a particular location.
764The default value is "IfRequested".
e0660879 765.TP 5
25d0c3fe
MS
766\fBOrder allow,deny\fR
767Specifies 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 768.TP 5
25d0c3fe
MS
769\fBOrder deny,allow\fR
770Specifies 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 771.TP 5
25d0c3fe
MS
772\fBRequire group \fIgroup-name \fR[ \fIgroup-name \fR... ]
773Specifies that an authenticated user must be a member of one of the named groups.
e0660879 774.TP 5
25d0c3fe
MS
775\fBRequire user {\fIuser-name\fR|\fB@\fIgroup-name\fR} ...
776Specifies that an authenticated user must match one of the named users or be a member of one of the named groups.
777The group name "@SYSTEM" corresponds to the list of groups defined by the SystemGroup directive in the
778.BR cups-files.conf (5)
779file.
780The group name "@OWNER" corresponds to the owner of the resource, for example the person that submitted a print job.
f80e6f38 781Note: The 'root' user is not special and must be granted privileges like any other user account.
e0660879 782.TP 5
25d0c3fe
MS
783\fBRequire valid-user\fR
784Specifies that any authenticated user is acceptable.
e0660879 785.TP 5
25d0c3fe
MS
786\fBSatisfy all\fR
787Specifies that all Allow, AuthType, Deny, Order, and Require conditions must be satisfied to allow access.
e0660879 788.TP 5
25d0c3fe
MS
789\fBSatisfy any\fR
790Specifies that any a client may access a resource if either the authentication (AuthType/Require) or address (Allow/Deny/Order) conditions are satisfied.
791For example, this can be used to require authentication only for remote accesses.
792.SS DIRECTIVES VALID WITHIN POLICY SECTIONS
793The following directives may be placed inside Policy sections in the \fBcupsd.conf\fR file:
e0660879 794.TP 5
25d0c3fe 795\fBJobPrivateAccess all\fR
e0660879 796.TP 5
25d0c3fe 797\fBJobPrivateAccess default\fR
e0660879 798.TP 5
25d0c3fe
MS
799\fBJobPrivateAccess \fR{\fIuser\fR|\fB@\fIgroup\fR|\fB@ACL\fR|\fB@OWNER\fR|\fB@SYSTEM\fR} ...
800Specifies an access list for a job's private values.
801The "default" access list is "@OWNER @SYSTEM".
802"@ACL" maps to the printer's requesting-user-name-allowed or requesting-user-name-denied values.
803"@OWNER" maps to the job's owner.
804"@SYSTEM" maps to the groups listed for the SystemGroup directive in the
805.BR cups-files.conf (5)
806file.
e0660879 807.TP 5
25d0c3fe 808\fBJobPrivateValues all\fR
e0660879 809.TP 5
25d0c3fe 810\fBJobPrivateValues default\fR
e0660879 811.TP 5
25d0c3fe 812\fBJobPrivateValues none\fR
e0660879 813.TP 5
25d0c3fe
MS
814\fBJobPrivateValues \fIattribute-name \fR[ ... \fIattribute-name \fR]
815Specifies the list of job values to make private.
816The "default" values are "job-name", "job-originating-host-name", "job-originating-user-name", and "phone".
e0660879 817.TP 5
25d0c3fe 818\fBSubscriptionPrivateAccess all\fR
10d09e33 819.TP 5
25d0c3fe 820\fBSubscriptionPrivateAccess default\fR
10d09e33 821.TP 5
25d0c3fe
MS
822\fBSubscriptionPrivateAccess \fR{\fIuser\fR|\fB@\fIgroup\fR|\fB@ACL\fR|\fB@OWNER\fR|\fB@SYSTEM\fR} ...
823Specifies an access list for a subscription's private values.
824The "default" access list is "@OWNER @SYSTEM".
825"@ACL" maps to the printer's requesting-user-name-allowed or requesting-user-name-denied values.
826"@OWNER" maps to the job's owner.
827"@SYSTEM" maps to the groups listed for the SystemGroup directive in the
828.BR cups-files.conf (5)
829file.
10d09e33 830.TP 5
25d0c3fe 831\fBSubscriptionPrivateValues all\fR
10d09e33 832.TP 5
25d0c3fe 833\fBSubscriptionPrivateValues default\fR
10d09e33 834.TP 5
25d0c3fe 835\fBSubscriptionPrivateValues none\fR
10d09e33 836.TP 5
25d0c3fe
MS
837\fBSubscriptionPrivateValues \fIattribute-name \fR[ ... \fIattribute-name \fR]
838Specifies the list of subscription values to make private.
839The "default" values are "notify-events", "notify-pull-method", "notify-recipient-uri", "notify-subscriber-user-name", and "notify-user-data".
840.SH CONFORMING TO
841The \fBcupsd.conf\fR file format is based on the Apache HTTP Server configuration file format.
842.SH EXAMPLES
843Log everything with a maximum log file size of 32 megabytes:
844.nf
845
846 AccessLogLevel all
847 LogLevel debug2
848 MaxLogSize 32m
849
850.fi
851Require authentication for accesses from outside the 10. network:
852.nf
853
854 <Location />
855 Order allow,deny
856 Allow from 10./8
857 AuthType Basic
858 Require valid-user
859 Satisfy any
860 </Location>
861.fi
ef416fc2 862.SH SEE ALSO
25d0c3fe
MS
863.BR classes.conf (5),
864.BR cups-files.conf (5),
865.BR cupsd (8),
866.BR mime.convs (5),
867.BR mime.types (5),
868.BR printers.conf (5),
869.BR subscriptions.conf (5),
870CUPS Online Help (http://localhost:631/help)
ef416fc2 871.SH COPYRIGHT
f80e6f38 872Copyright \[co] 2007-2016 by Apple Inc.