ClamAV の設定ファイル(clamd.conf, freshclam.conf)は導入後にユーザーに設定してもらう前に暴発しないように
EXAMPLE 命令が有効な状態で配布してある。
これをコメントアウトすることで利用可能になる。
- clamd.conf
##
## Example config file for the Clam AV daemon
## Please read the clamd.conf(5) manual before editing this file.
##
# Comment or remove the line below.
Example
# 略
- clamd を実行
$ clamd
ERROR: Please edit the example config file /path/to/clamd.conf.
- clamd.conf を編集して Example 命令を無効化する
##
## Example config file for the Clam AV daemon
## Please read the clamd.conf(5) manual before editing this file.
##
# Comment or remove the line below.
# Example
# 略
- clamd を実行
$ clamd
# 正常に実行される
実処理
実処理はここにあります。
雑感
どういうアプローチを取るのが一般的なのかよくわからない。