Advertisement
Guest User

cups confg

a guest
Mar 10th, 2013
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.98 KB | None | 0 0
  1. LogLevel debug
  2. MaxLogSize 0
  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 Negotiate
  14. <Location />
  15. # Allow shared printing and remote administration...
  16. Order allow,deny
  17. Allow all
  18. </Location>
  19. <Location /admin>
  20. # Allow remote administration...
  21. Order allow,deny
  22. Allow all
  23. </Location>
  24. <Location /admin/conf>
  25. AuthType Default
  26. Require user @SYSTEM
  27. # Allow remote access to the configuration files...
  28. Order allow,deny
  29. Allow all
  30. </Location>
  31. <Policy default>
  32. <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 CUPS-Get-Document>
  33. Require user @OWNER @SYSTEM
  34. Order deny,allow
  35. </Limit>
  36. <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
  37. AuthType Default
  38. Require user @SYSTEM
  39. Order deny,allow
  40. </Limit>
  41. <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 CUPS-Accept-Jobs CUPS-Reject-Jobs>
  42. AuthType Default
  43. Require user @SYSTEM
  44. Order deny,allow
  45. </Limit>
  46. <Limit Cancel-Job CUPS-Authenticate-Job>
  47. Require user @OWNER @SYSTEM
  48. Order deny,allow
  49. </Limit>
  50. <Limit All>
  51. Order deny,allow
  52. </Limit>
  53. </Policy>
  54. <Policy authenticated>
  55. <Limit Create-Job Print-Job Print-URI>
  56. AuthType Default
  57. Order deny,allow
  58. </Limit>
  59. <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 CUPS-Get-Document>
  60. AuthType Default
  61. Require user @OWNER @SYSTEM
  62. Order deny,allow
  63. </Limit>
  64. <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
  65. AuthType Default
  66. Require user @SYSTEM
  67. Order deny,allow
  68. </Limit>
  69. <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 CUPS-Accept-Jobs CUPS-Reject-Jobs>
  70. AuthType Default
  71. Require user @SYSTEM
  72. Order deny,allow
  73. </Limit>
  74. <Limit Cancel-Job CUPS-Authenticate-Job>
  75. AuthType Default
  76. Require user @OWNER @SYSTEM
  77. Order deny,allow
  78. </Limit>
  79. <Limit All>
  80. Order deny,allow
  81. </Limit>
  82. </Policy>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement