source: npl/fileserver/samba_conf/root/home/system/cups/cupsd.conf.new

Last change on this file was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100755
File size: 2.3 KB
Line 
1#
2# "$Id: cupsd.conf.in 5454 2006-04-23 21:46:38Z 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...
11LogLevel info
12
13# Administrator user group...
14SystemGroup sys root
15
16# Only listen for connections from the local machine.
17Listen localhost:631
18Listen /var/run/cups/cups.sock
19
20# Show shared printers on the local network.
21Browsing On
22BrowseOrder allow,deny
23BrowseAllow @LOCAL
24
25# Default authentication type, when authentication is required...
26DefaultAuthType 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  Encryption Required
37  Order allow,deny
38  Allow localhost
39</Location>
40
41# Restrict access to configuration files...
42<Location /admin/conf>
43  AuthType Basic
44  Require user @SYSTEM
45  Order allow,deny
46  Allow localhost
47</Location>
48
49# Set the default printer/job policies...
50<Policy default>
51  # Job-related operations must be done by the owner or an adminstrator...
52  <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>
53    Require user @OWNER @SYSTEM
54    Order deny,allow
55  </Limit>
56
57  # All administration operations require an adminstrator to authenticate...
58  <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>
59    AuthType Basic
60    Require user @SYSTEM
61    Order deny,allow
62  </Limit>
63
64  # Only the owner or an administrator can cancel or authenticate a job...
65  <Limit Cancel-Job CUPS-Authenticate-Job>
66    Require user @OWNER @SYSTEM
67    Order deny,allow
68  </Limit>
69
70  <Limit All>
71    Order deny,allow
72  </Limit>
73</Policy>
74
75#
76# End of "$Id: cupsd.conf.in 5454 2006-04-23 21:46:38Z mike $".
77#
Note: See TracBrowser for help on using the repository browser.