Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.00 KB | None | 0 0
  1. LogLevel warn
  2. MaxLogSize 0
  3. SystemGroup lpadmin
  4. # Allow remote access
  5. Port 631
  6. Listen /var/run/cups/cups.sock
  7. # Enable printer sharing and shared printers.
  8. Browsing On
  9. BrowseOrder allow,deny
  10. BrowseAllow all
  11. BrowseRemoteProtocols CUPS
  12. BrowseAddress @LOCAL
  13. BrowseLocalProtocols CUPS dnssd
  14. DefaultAuthType Basic
  15. <Location />
  16. # Allow shared printing and remote administration...
  17. Order allow,deny
  18. Allow all
  19. </Location>
  20. <Location /admin>
  21. # Allow remote administration...
  22. Order allow,deny
  23. Allow all
  24. </Location>
  25. <Location /admin/conf>
  26. AuthType Default
  27. Require user @SYSTEM
  28. # Allow remote access to the configuration files...
  29. Order allow,deny
  30. Allow all
  31. </Location>
  32. <Policy default>
  33. <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>
  34. Require user @OWNER @SYSTEM
  35. Order deny,allow
  36. </Limit>
  37. <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
  38. AuthType Default
  39. Require user @SYSTEM
  40. Order deny,allow
  41. </Limit>
  42. <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>
  43. AuthType Default
  44. Require user @SYSTEM
  45. Order deny,allow
  46. </Limit>
  47. <Limit Cancel-Job CUPS-Authenticate-Job>
  48. Require user @OWNER @SYSTEM
  49. Order deny,allow
  50. </Limit>
  51. <Limit All>
  52. Order deny,allow
  53. </Limit>
  54. </Policy>
  55. <Policy authenticated>
  56. <Limit Create-Job Print-Job Print-URI>
  57. AuthType Default
  58. Order deny,allow
  59. </Limit>
  60. <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>
  61. AuthType Default
  62. Require user @OWNER @SYSTEM
  63. Order deny,allow
  64. </Limit>
  65. <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
  66. AuthType Default
  67. Require user @SYSTEM
  68. Order deny,allow
  69. </Limit>
  70. <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>
  71. AuthType Default
  72. Require user @SYSTEM
  73. Order deny,allow
  74. </Limit>
  75. <Limit Cancel-Job CUPS-Authenticate-Job>
  76. AuthType Default
  77. Require user @OWNER @SYSTEM
  78. Order deny,allow
  79. </Limit>
  80. <Limit All>
  81. Order deny,allow
  82. </Limit>
  83. </Policy>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement