cupsd.conf 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. ##
  2. ## @l_prefix@/etc/cups/cupsd.conf
  3. ##
  4. #
  5. # Server identity
  6. #
  7. #ServerName myhost.domain.com
  8. #ServerAdmin root@your.domain.com
  9. #
  10. # Server options
  11. #
  12. # User/group setting when running external commands like filters
  13. #User @l_musr@
  14. #Group @l_mgrp@
  15. # Name of the user assigned to unauthenticated accesses from remote systems.
  16. #RemoteRoot remroot
  17. LogLevel info
  18. #AccessLog @l_prefix@/var/cups/log/access_log
  19. #ErrorLog @l_prefix@/var/cups/log/error_log
  20. #PageLog @l_prefix@/var/cups/log/page_log
  21. #DataDir @l_prefix@/share/cups
  22. #DocumentRoot @l_prefix@/share/doc/cups
  23. #FontPath @l_prefix@/share/cups/fonts
  24. #RequestRoot @l_prefix@/var/cups/spool
  25. #ServerBin @l_prefix@/libexec/cups
  26. #ServerRoot @l_prefix@/etc/cups
  27. #TempDir @l_prefix@/var/cups/spool/tmp
  28. # Automatic printcap generation - specify suitable file, e.g. /etc/printcap
  29. # or disable file generation by leaving blank.
  30. Printcap
  31. # Format of the printcap file, currently either BSD or Solaris.
  32. PrintcapFormat BSD
  33. #DefaultCharset utf-8
  34. #DefaultLanguage en
  35. #MaxCopies 100
  36. #MaxJobs 500
  37. #RIPCache 8m
  38. #PreserveJobHistory Yes
  39. #PreserveJobFiles No
  40. #AutoPurgeJobs No
  41. #
  42. # Network options
  43. #
  44. Listen 127.0.0.1:631
  45. #HostNameLookups On
  46. #MaxClients 100
  47. #MaxClientsPerHost 0
  48. #MaxRequestSize 0
  49. #KeepAlive On
  50. #KeepAliveTimeout 60
  51. #Timeout 300
  52. #
  53. # Browsing options
  54. #
  55. Browsing On
  56. BrowseProtocols cups
  57. BrowseShortNames Yes
  58. BrowseAddress @LOCAL
  59. BrowsePort 631
  60. BrowseInterval 30
  61. BrowseTimeout 300
  62. BrowseOrder allow,deny
  63. BrowseAllow All
  64. BrowseDeny None
  65. ImplicitClasses On
  66. ImplicitAnyCLasses Off
  67. HideImplicitMembers On
  68. #
  69. # Security Options
  70. #
  71. #ServerCertificate @l_prefix@/etc/cups/ssl/server.crt
  72. #ServerKey @l_prefix@/etc/cups/ssl/server.key
  73. SystemGroup @l_sgrp@
  74. <Location />
  75. AuthType None
  76. Order Deny,Allow
  77. Deny From All
  78. Allow From 127.0.0.1
  79. </Location>
  80. <Location /admin>
  81. AuthType Basic
  82. AuthClass System
  83. Encryption IfRequested
  84. Order Deny,Allow
  85. Deny From All
  86. Allow From 127.0.0.1
  87. </Location>
  88. #<Location /classes>
  89. # You may wish to limit access to printers and classes, either with Allow
  90. # and Deny lines, or by requiring a username and password.
  91. #</Location>
  92. #<Location /classes/name>
  93. # You may wish to limit access to printers and classes, either with Allow
  94. # and Deny lines, or by requiring a username and password.
  95. #</Location>
  96. #<Location /jobs>
  97. # You may wish to limit access to job operations, either with Allow
  98. # and Deny lines, or by requiring a username and password.
  99. #</Location>
  100. #<Location /printers>
  101. # You may wish to limit access to printers and classes, either with Allow
  102. # and Deny lines, or by requiring a username and password.
  103. #</Location>
  104. #<Location /printers/name>
  105. # You may wish to limit access to printers and classes, either with Allow
  106. # and Deny lines, or by requiring a username and password.
  107. #</Location>