Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate

Advertising

cupsd.conf
Thursday, March 8th, 2007 at 12:31:06am UTC 

  1. #
  2. #
  3. #   Sample configuration file for the Common UNIX Printing System (CUPS)
  4. #   scheduler.  See "man cupsd.conf" for a complete description of this
  5. #   file.
  6. #
  7.  
  8. # Log general information in error_log - change "info" to "debug" for
  9. # troubleshooting...
  10. LogLevel warning
  11.  
  12. # Administrator user group...
  13. SystemGroup lpadmin
  14.  
  15. # Only listen for connections from the local machine.
  16. Port 631
  17. #Listen localhost:631
  18. Listen /var/run/cups/cups.sock
  19.  
  20. # Show shared printers on the local network.
  21. # Browsing Off
  22. BrowseOrder allow,deny
  23. BrowseAllow all
  24. BrowseAddress all
  25.  
  26. <Location />
  27. Order Deny,Allow
  28. Deny From All
  29. Allow From 127.0.0.1
  30. #Modify 192.168.0.* to match your configuration.
  31. Allow From All
  32. #DefaultAuthType None
  33. </Location>
  34.  
  35.  
  36. # Default authentication type, when authentication is required...
  37. AuthType None
  38.  
  39. # Restrict access to the server...
  40. <Location />
  41.   Order allow,deny
  42.   Allow localhost
  43.   Allow @LOCAL
  44.   Allow all     
  45. </Location>
  46.  
  47. # Restrict access to the admin pages...
  48. <Location /admin>
  49.   Order allow,deny
  50.   Allow localhost
  51. </Location>
  52.  
  53. # Restrict access to configuration files...
  54. <Location /admin/conf>
  55.   AuthType Basic
  56.   Require user @SYSTEM
  57.   Order allow,deny
  58.   Allow localhost
  59. </Location>
  60.  
  61. # Set the default printer/job policies...
  62. <Policy default>
  63.   # Job-related operations must be done by the owner or an adminstrator...
  64.   <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>
  65.     Require user @OWNER @SYSTEM
  66.     Order deny,allow
  67.   </Limit>
  68.  
  69.   # All administration operations require an adminstrator to authenticate...
  70.   <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>
  71.     AuthType Basic
  72.     Require user @SYSTEM
  73.     Order deny,allow
  74.   </Limit>
  75.  
  76.   # Only the owner or an administrator can cancel or authenticate a job...
  77.   <Limit Cancel-Job CUPS-Authenticate-Job>
  78.     Require user @OWNER @SYSTEM
  79.     Order deny,allow
  80.   </Limit>
  81.  
  82.   <Limit All>
  83.     Order deny,allow
  84.   </Limit>
  85. </Policy>
  86.  
  87. #
  88. #

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right
worth-right