]> git.ipfire.org Git - thirdparty/cups.git/blame_incremental - conf/cupsd.conf.in
Merge changes from CUPS 1.5svn-r9352.
[thirdparty/cups.git] / conf / cupsd.conf.in
... / ...
CommitLineData
1#
2# "$Id: cupsd.conf.in 7888 2008-08-29 21:16:56Z mike $"
3#
4# Sample configuration file for the CUPS scheduler. See "man cupsd.conf" for a
5# complete description of this file.
6#
7
8# Log general information in error_log - change "@CUPS_LOG_LEVEL@" to "debug"
9# for troubleshooting...
10LogLevel @CUPS_LOG_LEVEL@
11
12# Administrator user group...
13SystemGroup @CUPS_SYSTEM_GROUPS@
14@CUPS_SYSTEM_AUTHKEY@
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
23BrowseAllow all
24BrowseLocalProtocols @CUPS_BROWSE_LOCAL_PROTOCOLS@
25
26# Default authentication type, when authentication is required...
27DefaultAuthType Basic
28
29# Restrict access to the server...
30<Location />
31 Order allow,deny
32</Location>
33
34# Restrict access to the admin pages...
35<Location /admin>
36 Order allow,deny
37</Location>
38
39# Restrict access to configuration files...
40<Location /admin/conf>
41 AuthType Default
42 Require user @SYSTEM
43 Order allow,deny
44</Location>
45
46# Set the default printer/job policies...
47<Policy default>
48 # Job/subscription privacy...
49 JobPrivateAccess default
50 JobPrivateValues default
51 SubscriptionPrivateAccess default
52 SubscriptionPrivateAccess default
53
54 # Job-related operations must be done by the owner or an administrator...
55 <Limit Create-Job Print-Job Print-URI Validate-Job>
56 Order deny,allow
57 </Limit>
58
59 <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>
60 Require user @OWNER @SYSTEM
61 Order deny,allow
62 </Limit>
63
64 # All administration operations require an administrator to authenticate...
65 <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
66 AuthType Default
67 Require user @SYSTEM
68 Order deny,allow
69 </Limit>
70
71 # All printer operations require a printer operator to authenticate...
72 <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>
73 AuthType Default
74 Require user @CUPS_DEFAULT_PRINTOPERATOR_AUTH@
75 Order deny,allow
76 </Limit>
77
78 # Only the owner or an administrator can cancel or authenticate a job...
79 <Limit Cancel-Job CUPS-Authenticate-Job>
80 Require user @OWNER @CUPS_DEFAULT_PRINTOPERATOR_AUTH@
81 Order deny,allow
82 </Limit>
83
84 <Limit All>
85 Order deny,allow
86 </Limit>
87</Policy>
88
89# Set the authenticated printer/job policies...
90<Policy authenticated>
91 # Job/subscription privacy...
92 JobPrivateAccess default
93 JobPrivateValues default
94 SubscriptionPrivateAccess default
95 SubscriptionPrivateAccess default
96
97 # Job-related operations must be done by the owner or an administrator...
98 <Limit Create-Job Print-Job Print-URI Validate-Job>
99 AuthType Default
100 Order deny,allow
101 </Limit>
102
103 <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>
104 AuthType Default
105 Require user @OWNER @SYSTEM
106 Order deny,allow
107 </Limit>
108
109 # All administration operations require an administrator to authenticate...
110 <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
111 AuthType Default
112 Require user @SYSTEM
113 Order deny,allow
114 </Limit>
115
116 # All printer operations require a printer operator to authenticate...
117 <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>
118 AuthType Default
119 Require user @CUPS_DEFAULT_PRINTOPERATOR_AUTH@
120 Order deny,allow
121 </Limit>
122
123 # Only the owner or an administrator can cancel or authenticate a job...
124 <Limit Cancel-Job CUPS-Authenticate-Job>
125 AuthType Default
126 Require user @OWNER @CUPS_DEFAULT_PRINTOPERATOR_AUTH@
127 Order deny,allow
128 </Limit>
129
130 <Limit All>
131 Order deny,allow
132 </Limit>
133</Policy>
134
135#
136# End of "$Id: cupsd.conf.in 7888 2008-08-29 21:16:56Z mike $".
137#