タイ国、ノンタブリ県の田村です。
申し訳ありません。自己レスです。もっと早く、確かめておけばよかったの
ですが、改めてcupsの設定ファイルを比べてみました。
(1) V3.4:/etc/cups/cupsd.conf, line 695 - 700
695 # <Location /jobs>
696 #
697 # You may wish to limit access to job operations, either with Allow
698 # and Deny lines, or by requiring a username and password.
699 #
700 # </Location>
と、<Location /jobs>の部分がコメントアウトされています。
(2) V3.9:/etc/cups/cupsd.conf, line 695 - 702
695 <Location /jobs>
696 #
697 # You may wish to limit access to job operations, either with Allow
698 # and Deny lines, or by requiring a username and password.
699 #
700 AuthType Basic
701 AuthClass User
702 </Location>
これはV3.9-2005-05-27-ENでの設定ですが、 以上のように、印刷ジョブの
管理に認証が必要になっています。セキュリティー上の理由によるもので
しょうか。そこで、実験的に次のように書き変えてみました。
(3) V3.9 experiment:/etc/cups/cupsd.conf, line 695 - 705
695 <Location /jobs>
696 #
697 # You may wish to limit access to job operations, either with Allow
698 # and Deny lines, or by requiring a username and password.
699 #
700 #AuthType Basic
701 #AuthClass User
702 Order Deny,Allow
703 Deny From All
704 Allow From 127.0.0.1
705 </Location>
こう編集して、root shellから"/etc/init.d/cupsys restart"を実行した上で、
プリンタの設定、印刷、印刷ジョブの停止と削除を行った見たところ、
認証要求は回避することができました。問題はセキュリティーです。
これで安全かどうか、どなたかご助言いただけないでしょうか。
田村志緒理
(2005-07-02)
|