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