1 #
2 # "$Id: cupsd.conf.in 7199 2008-01-08 00:16:30Z 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 sys root
15
16 Port 631 ##добавляем это
17
18 # Only listen for connections from the local machine.
19 Listen localhost:631
20 Listen /var/run/cups/cups.sock
21
22 # Show shared printers on the local network.
23 Browsing On
24 BrowseOrder allow,deny
25 BrowseAllow all
26
27 BrowseAllow all ##добавляем это
28 BrowseAddress @LOCAL ##добавляем это
29
30 # Default authentication type, when authentication is required...
31 DefaultAuthType Basic
32
33 # Restrict access to the server...
34 <Location />
35 Order Deny,Allow
36 Deny From All
37 Allow From 127.0.0.1
38 Allow From 192.168.0.3
39 Allow From 192.168.0.8
40 .
41 </Location>
42
43 # Restrict access to the admin pages...
44 <Location /admin>
45 Encryption Required
46 Order allow,deny
47 Allow all
48 </Location>
49
50 # Restrict access to configuration files...
51 <Location /admin/conf>
52 AuthType Default
53 Require user @SYSTEM
54 Order allow,deny
55 </Location>
56
57 # Set the default printer/job policies...
58 <Policy default>
59 # Job-related operations must be done by the owner or an administrator...
60 <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>
61 Require user @OWNER @SYSTEM
62 Order deny,allow
63 </Limit>
64
65 # All administration operations require an administrator to authenticate...
66 <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
67 AuthType Default
68 Require user @SYSTEM
69 Order deny,allow
70 </Limit>
71
72 # All printer operations require a printer operator to authenticate...
73 <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>
74 AuthType Default
75 Require user @SYSTEM
76 Order deny,allow
77 </Limit>
78
79 # Only the owner or an administrator can cancel or authenticate a job...
80 <Limit Cancel-Job CUPS-Authenticate-Job>
81 Require user @OWNER @SYSTEM
82 Order deny,allow
83 </Limit>
84
85 <Limit All>
86 Order deny,allow
87 </Limit>
88 </Policy>
89
90 #
91 # End of "$Id: cupsd.conf.in 7199 2008-01-08 00:16:30Z mike $".
92 #
а в каком именно?
их там вродь 4.