]> git.ipfire.org Git - thirdparty/cups.git/blame - conf/cupsd.conf.in
Merge changes from CUPS 1.5svn-r8829.
[thirdparty/cups.git] / conf / cupsd.conf.in
CommitLineData
ef416fc2 1#
b19ccc9e 2# "$Id: cupsd.conf.in 7888 2008-08-29 21:16:56Z mike $"
ef416fc2 3#
18ecb428
MS
4# Sample configuration file for the CUPS scheduler. See "man cupsd.conf" for a
5# complete description of this file.
ef416fc2 6#
7
1f0275e3
MS
8# Log general information in error_log - change "@CUPS_LOG_LEVEL@" to "debug"
9# for troubleshooting...
10LogLevel @CUPS_LOG_LEVEL@
ef416fc2 11
12# Administrator user group...
bd7854cb 13SystemGroup @CUPS_SYSTEM_GROUPS@
f7deaa1a 14@CUPS_SYSTEM_AUTHKEY@
ef416fc2 15
16# Only listen for connections from the local machine.
17Listen localhost:@DEFAULT_IPP_PORT@
18@CUPS_LISTEN_DOMAINSOCKET@
19
20# Show shared printers on the local network.
21Browsing On
22BrowseOrder allow,deny
f7deaa1a 23BrowseAllow all
c168a833 24BrowseLocalProtocols @CUPS_BROWSE_LOCAL_PROTOCOLS@
ef416fc2 25
26# Default authentication type, when authentication is required...
27DefaultAuthType Basic
28
29# Restrict access to the server...
30<Location />
31 Order allow,deny
ef416fc2 32</Location>
33
34# Restrict access to the admin pages...
35<Location /admin>
36 Order allow,deny
ef416fc2 37</Location>
38
39# Restrict access to configuration files...
40<Location /admin/conf>
bc44d920 41 AuthType Default
ef416fc2 42 Require user @SYSTEM
43 Order allow,deny
ef416fc2 44</Location>
45
46# Set the default printer/job policies...
47<Policy default>
cc0d019f 48 # Job-related operations must be done by the owner or an administrator...
dd1abb6b 49 <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 CUPS-Get-Document>
ef416fc2 50 Require user @OWNER @SYSTEM
51 Order deny,allow
52 </Limit>
53
cc0d019f 54 # All administration operations require an administrator to authenticate...
ae71f5de 55 <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
bc44d920 56 AuthType Default
ef416fc2 57 Require user @SYSTEM
58 Order deny,allow
59 </Limit>
60
355e94dc
MS
61 # All printer operations require a printer operator to authenticate...
62 <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 CUPS-Accept-Jobs CUPS-Reject-Jobs>
63 AuthType Default
b9faaae1 64 Require user @CUPS_DEFAULT_PRINTOPERATOR_AUTH@
355e94dc
MS
65 Order deny,allow
66 </Limit>
67
ef416fc2 68 # Only the owner or an administrator can cancel or authenticate a job...
69 <Limit Cancel-Job CUPS-Authenticate-Job>
b9faaae1 70 Require user @OWNER @CUPS_DEFAULT_PRINTOPERATOR_AUTH@
ef416fc2 71 Order deny,allow
72 </Limit>
73
74 <Limit All>
75 Order deny,allow
76 </Limit>
77</Policy>
78
839a51c8
MS
79# Set the authenticated printer/job policies...
80<Policy authenticated>
81 # Job-related operations must be done by the owner or an administrator...
c5571a1d
MS
82 <Limit Create-Job Print-Job Print-URI>
83 AuthType Default
84 Order deny,allow
85 </Limit>
86
dd1abb6b 87 <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 CUPS-Get-Document>
75bd9771 88 AuthType Default
839a51c8
MS
89 Require user @OWNER @SYSTEM
90 Order deny,allow
839a51c8
MS
91 </Limit>
92
93 # All administration operations require an administrator to authenticate...
94 <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
95 AuthType Default
96 Require user @SYSTEM
97 Order deny,allow
98 </Limit>
99
100 # All printer operations require a printer operator to authenticate...
101 <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 CUPS-Accept-Jobs CUPS-Reject-Jobs>
102 AuthType Default
b9faaae1 103 Require user @CUPS_DEFAULT_PRINTOPERATOR_AUTH@
839a51c8
MS
104 Order deny,allow
105 </Limit>
106
107 # Only the owner or an administrator can cancel or authenticate a job...
108 <Limit Cancel-Job CUPS-Authenticate-Job>
75bd9771 109 AuthType Default
b9faaae1 110 Require user @OWNER @CUPS_DEFAULT_PRINTOPERATOR_AUTH@
839a51c8 111 Order deny,allow
839a51c8
MS
112 </Limit>
113
114 <Limit All>
75bd9771 115 Order deny,allow
839a51c8
MS
116 </Limit>
117</Policy>
118
ef416fc2 119#
b19ccc9e 120# End of "$Id: cupsd.conf.in 7888 2008-08-29 21:16:56Z mike $".
ef416fc2 121#