Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Log general information in error_log - change "warn" to "debug"
- # for troubleshooting...
- LogLevel warn
- # Deactivate CUPS' internal logrotating, as we provide a better one, especially
- # LogLevel debug2 gets usable now
- MaxLogSize 0
- # Only listen for connections from the local machine.
- Listen localhost:631
- Listen /var/run/cups/cups.sock
- # Show shared printers on the local network.
- Browsing On
- BrowseAddress 192.168.0.*:631
- BrowseLocalProtocols dnssd
- # Default authentication type, when authentication is required...
- DefaultAuthType Basic
- # Web interface setting...
- WebInterface Yes
- # Restrict access to the server...
- <Location />
- Order allow,deny
- Allow localhost
- Allow from 192.168.0.*
- </Location>
- # Restrict access to the admin pages...
- <Location /admin>
- Order allow,deny
- Allow localhost
- Allow from 192.168.0.*
- </Location>
- # Restrict access to configuration files...
- <Location /admin/conf>
- AuthType Default
- Require user @SYSTEM
- Order allow,deny
- </Location>
- # Set the default printer/job policies...
- <Policy default>
- # Job/subscription privacy...
- JobPrivateAccess default
- JobPrivateValues default
- SubscriptionPrivateAccess default
- SubscriptionPrivateValues default
- # Job-related operations must be done by the owner or an administrator...
- <Limit Create-Job Print-Job Print-URI Validate-Job>
- Order deny,allow
- </Limit>
- <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Can$
- Require user @OWNER @SYSTEM
- Order deny,allow
- </Limit>
- # All administration operations require an administrator to authenticate...
- <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
- AuthType Default
- Require user @SYSTEM
- Order deny,allow
- </Limit>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement