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