]> git.ipfire.org Git - thirdparty/cups.git/blob - conf/cupsd.conf.in
Load cups into easysw/current.
[thirdparty/cups.git] / conf / cupsd.conf.in
1 #
2 # "$Id: cupsd.conf.in 5114 2006-02-16 12:28:29Z 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
16 # Only listen for connections from the local machine.
17 Listen localhost:@DEFAULT_IPP_PORT@
18 @CUPS_LISTEN_DOMAINSOCKET@
19
20 # Show shared printers on the local network.
21 Browsing On
22 BrowseOrder allow,deny
23 BrowseAllow @LOCAL
24
25 # Default authentication type, when authentication is required...
26 DefaultAuthType Basic
27
28 # Restrict access to the server...
29 <Location />
30 Order allow,deny
31 Allow localhost
32 </Location>
33
34 # Restrict access to the admin pages...
35 <Location /admin>
36 Order allow,deny
37 Allow localhost
38 </Location>
39
40 # Restrict access to configuration files...
41 <Location /admin/conf>
42 AuthType Basic
43 Require user @SYSTEM
44 Order allow,deny
45 Allow localhost
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 adminstrator...
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 adminstrator to authenticate...
57 <Limit Pause-Printer Resume-Printer Set-Printer-Attributes 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-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
58 AuthType Basic
59 Require user @SYSTEM
60 Order deny,allow
61 </Limit>
62
63 # Only the owner or an administrator can cancel or authenticate a job...
64 <Limit Cancel-Job CUPS-Authenticate-Job>
65 Require user @OWNER @SYSTEM
66 Order deny,allow
67 </Limit>
68
69 <Limit All>
70 Order deny,allow
71 </Limit>
72 </Policy>
73
74 #
75 # End of "$Id: cupsd.conf.in 5114 2006-02-16 12:28:29Z mike $".
76 #