Paste: cups

Author: auzain
Mode: factor
Date: Mon, 31 Aug 2009 17:29:52
Plain Text |
LogLevel info
SystemGroup lpadmin
# Allow remote access
#Port 631
Listen *:631
/var/run/cups/cups.sock
# Enable printer sharing and shared printers.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseAddress @IF(eth1)
DefaultAuthType Basic
<Location />
  AuthType None
  Order Deny,Allow
  Deny From All
  Allow localhost
  Allow from 192.168.1.*
</Location>
<Location /admin>
  AuthType None
  Deny All
  Allow localhost
  Allow from 192.168.1.*
  # Allow remote administration...
  Order allow,deny
</Location>
<Location /admin/conf>
  AuthType None
  # Allow remote access to the configuration files...
  Order allow,deny
  Allow all
  Allow from 192.168.1.*
</Location>
<Policy default>
  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Cr$
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS$
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-$
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>
  <Limit CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit All>
    Order deny,allow
  </Limit>
</Policy>

New Annotation

Summary:
Author:
Mode:
Body: