IT

cups 설정 방법

by SysOp posted Jun 04, 2020
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄
Extra Form
주소 https://www.kimsaem.net/fav_site/218494

설정 파일명 : /etc/cups/cupsd.conf

 

빨간부분 수정 및 삭제, 그리고 데몬 재시작

 

# Only listen for connections from the local machine.
#Listen localhost:631
Port 631

Listen /run/cups/cups.sock

# Show shared printers on the local network.
Browsing Off
BrowseLocalProtocols dnssd

# Default authentication type, when authentication is required...
DefaultAuthType Basic

# Web interface setting...
WebInterface Yes

# Restrict access to the server...
<Location />
Allow all
  Order allow,deny
</Location>

# Restrict access to the admin pages...
<Location /admin>
Allow all
  Order allow,deny
</Location>

# Restrict access to configuration files...
<Location /admin/conf>
Allow all
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
</Location>

# Restrict access to log files...
<Location /admin/log>
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
</Location>

# Set the default printer/job policies...
<Policy default>
  # Job/subscription privacy...
  JobPrivateAccess default
  JobPrivateValues default
  SubscriptionPrivateAccess default
  SubscriptionPrivateValues default

 

 

사용자 제대로 보이기

 

To display the job document file name and the user name:

  • Edit /etc/cups/cupsd.conf: change to
    JobPrivateValues default
    JobPrivateValues none
  • Restart cupsd: sudo systemctl restart cups