[Memo2015][ITPASS]不要なネットワークサービスを止める
/etc/init.d/ 以下のネットワークサービスの停止
exim4 の再設定を行った.
# export LANG=C # dpkg-reconfigure exim4-config
設定画面で local delivery only のみになっていることを確認した. 他はデフォルトのままにした.
その他の /etc/init.d 以下から起動されるネットワークサービスの停止
# /etc/init.d/nfs-common stop
/usr/sbin/inetd によって起動されるネットワークサービスの停止
openbsd-inetd をインストールした.
# apt-get install openbsd-inetd
/etc/inetd.conf を編集して不必要なサービスが上がらないようにした.
# vi /etc/inetd.conf
で全てがコメントアウトされているのを確認し, inetd のプロセスを再起動した.
# /etc/init.d/openbsd-inetd restart
Keyword(s):
References:[[ITPASS2015]2015年度サーバ構築ログ]