llinux服务器网页字体方块,Linux – 如何设置cups.conf以访问远程计算机的杯子网页界面…

  • Post author:
  • Post category:linux

我有一台Linux服务器用于打印服务器。 我需要使用cups web界面启用打印机的远程管理。 我已阅读过有关此事但我错过了一些东西。 在cupsd.conf中添加了ip地址范围我们想要访问, 和部分中的杯管理,重新启动服务但我无法从远程计算机访问Web界面。 低于我的cupsd.conf的一部分Linux – 如何设置cups.conf以访问远程计算机的杯子网页界面

# Sample configuration file for the Common UNIX Printing System (CUPS)

# scheduler. See “man cupsd.conf” for a complete description of this

# file.

#

# Log general information in error_log – change “info” to “debug” for

# troubleshooting…

LogLevel info

# Administrator user group…

SystemGroup root

# Only listen for connections from the local machine.

Listen localhost:631

Listen /var/run/cups/cups.sock

# Show shared printers on the local network.

Browsing On

BrowseOrder allow,deny

BrowseAllow all

# Default authentication type, when authentication is required…

DefaultAuthType Basic

# Restrict access to the server…

Order allow,deny

Allow 127.0.0.1

Allow 10.2.*

# Restrict access to the admin pages…

Encryption Required

Order allow,deny

Allow 10.2.4.*

# Restrict access to configuration files…

AuthType Default

Require user @SYSTEM

Order allow,deny

Allow 10.2.4.*

# Set the default printer/job policies…

# Job-related operations must be done by the owner or an administrator…

Require user @OWNER @SYSTEM @lp

Order deny,allow

# All administration operations require an administrator to authenticate…

AuthType Default

Require user @SYSTEM @lp

Order deny,allow

# All printer operations require a printer operator to authenticate…

AuthType Default

Require user @SYSTEM @lp

Order deny,allow

# Only the owner or an administrator can cancel or authenticate a job…

Require user @OWNER @SYSTEM @lp

Order deny,allow

Order deny,allow

DefaultPolicy default

# easy is a very relaxed policy

# Job-related operations must be done by the owner or an administrator…

Satisfy any

Order allow,deny

#