]> git.ipfire.org Git - thirdparty/cups.git/blame - conf/cupsd.conf.in
Add support for cached authentication on a per-job basis. The
[thirdparty/cups.git] / conf / cupsd.conf.in
CommitLineData
b0d4207c 1#
b2e10895 2# "$Id$"
b0d4207c 3#
4# Sample configuration file for the Common UNIX Printing System (CUPS)
8559afed 5# scheduler. See "man cupsd.conf" for a complete description of this
6# file.
c4dda638 7#
b0d4207c 8
b5bfe159 9# Log general information in error_log - change "info" to "debug" for
10# troubleshooting...
11LogLevel info
12
b38d93df 13# Administrator user group...
14SystemGroup @CUPS_GROUP@
15
8559afed 16# Only listen for connections from the local machine.
17Listen 127.0.0.1:@DEFAULT_IPP_PORT@
c6075312 18@CUPS_LISTEN_DOMAINSOCKET@
b0d4207c 19
8559afed 20# Show shared printers on the local network.
21Browsing On
22BrowseOrder allow,deny
23BrowseAllow @LOCAL
b0d4207c 24
e9a798a1 25# Default authentication type, when authentication is required...
26DefaultAuthType Basic
27
90aec4f7 28# Restrict access to the server...
29<Location />
30 Order allow,deny
31 Allow localhost
32</Location>
33
34# Restrict access to the admin pages...
35<Location /admin>
36 Order allow,deny
37 Allow localhost
38</Location>
39
b38d93df 40# Restrict access to configuration files...
41<Location /admin/conf>
90aec4f7 42 AuthType Basic
43 Require user @SYSTEM
44 Order allow,deny
45 Allow localhost
b38d93df 46</Location>
47
90aec4f7 48# Authenticate against system accounts by default...
49DefaultAuthType Basic
50
51# Set the default printer/job policies...
52<Policy default>
53 # Job-related operations must be done by the owner or an adminstrator...
54 <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 CUPS-Move-Job>
55 Require user @OWNER @SYSTEM
56 Order deny,allow
57 </Limit>
58
59 # All administration operations require an adminstrator to authenticate...
60 <Limit Pause-Printer Resume-Printer Set-Printer-Attributes 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 CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
61 AuthType Basic
62 Require user @SYSTEM
63 Order deny,allow
64 </Limit>
65
48e211f3 66 # Only the owner or an administrator can cancel or authenticate a job...
67 <Limit Cancel-Job CUPS-Authenticate-Job>
90aec4f7 68 Require user @OWNER @SYSTEM
69 Order deny,allow
70 </Limit>
71
72 <Limit All>
73 Order deny,allow
74 </Limit>
75</Policy>
76
b0d4207c 77#
b2e10895 78# End of "$Id$".
b0d4207c 79#