Advertisement
Guest User

Untitled

a guest
Nov 6th, 2011
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.41 KB | None | 0 0
  1. LogLevel warn
  2. SystemGroup sys root
  3. # Allow remote access
  4. Port 631
  5. Listen /var/run/cups/cups.sock
  6. # Enable printer sharing and shared printers.
  7. Browsing On
  8. BrowseOrder allow,deny
  9. BrowseAllow all
  10. BrowseRemoteProtocols CUPS
  11. BrowseAddress @LOCAL
  12. BrowseLocalProtocols CUPS dnssd
  13. DefaultAuthType Basic
  14. WebInterface Yes
  15. <Location />
  16. # Allow shared printing...
  17. Order allow,deny
  18. Allow @LOCAL
  19. </Location>
  20. <Location /admin>
  21. Order allow,deny
  22. Allow localhost
  23. Allow 192.168.0.*
  24. </Location>
  25. <Location /admin/conf>
  26. AuthType Default
  27. Require user @SYSTEM
  28. Order allow,deny
  29. Allow localhost
  30. Allow 192.168.0.*
  31. </Location>
  32. <Policy default>
  33. JobPrivateAccess default
  34. JobPrivateValues default
  35. SubscriptionPrivateAccess default
  36. SubscriptionPrivateValues default
  37. <Limit Create-Job Print-Job Print-URI Validate-Job>
  38. Order deny,allow
  39. Allow localhost
  40. Allow 192.168.0.*
  41. </Limit>
  42. <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 Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
  43. Require user @OWNER @SYSTEM
  44. Order deny,allow
  45. </Limit>
  46. <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
  47. AuthType Default
  48. Require user @SYSTEM
  49. Order deny,allow
  50. </Limit>
  51. <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 Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
  52. AuthType Default
  53. Require user @SYSTEM
  54. Order deny,allow
  55. </Limit>
  56. <Limit Cancel-Job CUPS-Authenticate-Job>
  57. Require user @OWNER @SYSTEM
  58. Order deny,allow
  59. </Limit>
  60. <Limit All>
  61. Order deny,allow
  62. </Limit>
  63. </Policy>
  64. <Policy authenticated>
  65. JobPrivateAccess default
  66. JobPrivateValues default
  67. SubscriptionPrivateAccess default
  68. SubscriptionPrivateValues default
  69. <Limit Create-Job Print-Job Print-URI Validate-Job>
  70. AuthType Default
  71. Order deny,allow
  72. </Limit>
  73. <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 Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
  74. AuthType Default
  75. Require user @OWNER @SYSTEM
  76. Order deny,allow
  77. </Limit>
  78. <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
  79. AuthType Default
  80. Require user @SYSTEM
  81. Order deny,allow
  82. </Limit>
  83. <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 Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
  84. AuthType Default
  85. Require user @SYSTEM
  86. Order deny,allow
  87. </Limit>
  88. <Limit Cancel-Job CUPS-Authenticate-Job>
  89. AuthType Default
  90. Require user @OWNER @SYSTEM
  91. Order deny,allow
  92. </Limit>
  93. <Limit All>
  94. Order deny,allow
  95. </Limit>
  96. </Policy>
  97.  
  98.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement