Advertisement
Guest User

cupsd.conf

a guest
Oct 12th, 2015
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.63 KB | None | 0 0
  1.  
  2. ServerName XXX
  3. Listen /var/run/cups/cups.sock
  4. Listen 0.0.0.0:631
  5.  
  6. ServerTokens ProductOnly
  7. WebInterface On
  8. KeepAlive On
  9. KeepAliveTimeout 60
  10. Timeout 15
  11. DirtyCleanInterval 0
  12.  
  13. LogLevel debug
  14. AccessLogLevel all
  15. MaxLogSize 0
  16. HostNameLookups Off
  17. PageLogFormat %p %u %j %T %P %C %{job-billing} %{job-originating-host-name} %{job-name} %{media} %{sides}
  18. PreserveJobHistory On
  19.  
  20. # Specifies whether or not shared printers should be advertised.
  21. Browsing On
  22. BrowseOrder allow,deny
  23. BrowseAllow all
  24. BrowseRemoteProtocols CUPS DNSSD
  25. # Specifies a broadcast address for outgoing printer information packets.
  26. BrowseAddress @LOCAL
  27. BrowseLocalProtocols CUPS DNSSD
  28. BrowseWebIF Off
  29.  
  30. DefaultAuthType Basic
  31. MaxJobsPerUser 3
  32. PreserveJobFiles 52w
  33.  
  34. DefaultPaperSize A4
  35. DefaultPolicy authenticated
  36. DefaultShared Yes
  37. ErrorPolicy stop-printer
  38. JobRetryInterval 5
  39. JobRetryLimit 5
  40.  
  41. <Location />
  42. Order allow,deny
  43. Allow all
  44. Require valid-user
  45. Satisfy all
  46. </Location>
  47.  
  48. <Location /admin>
  49. Order deny,allow
  50. Allow all
  51. Require group lpadmin
  52. Satisfy all
  53. </Location>
  54.  
  55.  
  56. <Policy authenticated>
  57. JobPrivateAccess @OWNER @SYSTEM @lpadmin
  58. JobPrivateValues job-name job-originating-host-name job-originating-user-name
  59. #JobPrivateValues all
  60. SubscriptionPrivateAccess @OWNER @SYSTEM @lpadmin
  61. SubscriptionPrivateValues notify-events notify-pull-method notify-recipient-uri notify-subscriber-user-name notify-user-data
  62.  
  63. <Limit Create-Job Print-Job Print-URI>
  64. AuthType Default
  65. Order deny,allow
  66. </Limit>
  67. <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 Cancel-My-Jobs>
  68. AuthType Default
  69. Require user @OWNER @SYSTEM
  70. Order deny,allow
  71. </Limit>
  72. <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
  73. AuthType Default
  74. Require user @SYSTEM
  75. Order deny,allow
  76. </Limit>
  77. <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>
  78. AuthType Default
  79. Require user @SYSTEM
  80. Order deny,allow
  81. </Limit>
  82. <Limit Cancel-Job Cancel-Jobs CUPS-Authenticate-Job Close-Job Validate-Job>
  83. AuthType Default
  84. Require user @OWNER @SYSTEM
  85. Order deny,allow
  86. </Limit>
  87. <Limit All>
  88. AuthType Default
  89. Order deny,allow
  90. </Limit>
  91. </Policy>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement