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