|
1.
最新状態を維持する
システムを完ぺきにインストールし適切なセキュリティを確保しても、
これで終わりではありません。
セキュリティとは継続的なプロセスです。
侵入の大部分は、パッチが当てられていないシステムにおいて、既知の脆弱性から発生しています。
あなたのシステムを最新状態に維持することが、
より強固なセキュリティを手に入れる唯一最重要のステップになります。
最近のバージョンのportageをインストールしているなら、
emerge --syncを使って、まずはPortageツリーを同期します。
それから、glsa-check --listコマンドを実行し、
あなたのシステムがセキュリティの観点から最新状態であるかをチェックします。
glsa-checkは、app-portage/gentoolkitの一部です。
コード表示 1.1: glsa-check -lの出力例 |
# glsa-check -l
WARNING: This tool is completely new and not very tested, so it should not be
used on production systems. It's mainly a test tool for the new GLSA release
and distribution system, it's functionality will later be merged into emerge
and equery.
Please read http://www.gentoo.org/proj/en/portage/glsa-integration.xml
before using this tool AND before reporting a bug.
[A] means this GLSA was already applied,
[U] means the system is not affected and
[N] indicates that the system might be affected.
200406-03 [N] sitecopy: Multiple vulnerabilities in included libneon ( net-misc/sitecopy )
200406-04 [U] Mailman: Member password disclosure vulnerability ( net-mail/mailman )
.......
|
警告:
glsa-checkは、まだ実験的なものです。従って、
セキュリティがあなたの最優先事項であるなら、
そのリストを別の情報を使って二重チェックするのが賢明でしょう。
|
[A]と[U]を含む全ての行に関しては、
システムがこのGLSAに影響を受けていないものとして、無視してしまって構いません。
重要:
通例のemerge -vpuD worldにより、
全パッケージのアップデートが受けられるわけではないのでご注意下さい。
システムにおいて、全てのGLSAが解決されているのを確認したいのであれば、
glsa-checkを使う必要があります。
|
コード表示 1.1: 全てのGLSAをチェックする |
# glsa-check -t all
WARNING: This tool is completely new and not very tested, so it should not be
used on production systems. It's mainly a test tool for the new GLSA release
and distribution system, it's functionality will later be merged into emerge
and equery.
Please read http://www.gentoo.org/proj/en/portage/glsa-integration.xml
before using this tool AND before reporting a bug.
This system is affected by the following GLSA:
200504-06
200510-08
200506-14
200501-35
200508-12
200507-16
# glsa-check -p $(glsa-check -t all)
Checking GLSA 200504-06
The following updates will be performed for this GLSA:
app-arch/sharutils-4.2.1-r11 (4.2.1-r10)
**********************************************************************
Checking GLSA 200510-08
The following updates will be performed for this GLSA:
media-libs/xine-lib-1.1.0-r5 (1.1.0-r4)
# glsa-check -f $(glsa-check -t all)
|
もし、稼動中のサービスをアップグレードしたのなら、サービスの再起動を忘れてはいけません。
また、カーネルを最新版にしておく
のもよいでしょう。
GLSAが公開される都度メールがほしいなら、
gentoo-announceメーリングリストに参加して下さい。
メーリングリストへの参加方法やその他たくさんの素敵なメーリングリストを
Gentoo Linux Mailing List Overview
で見つけることができます。
セキュリティに関連した素晴らしい情報源としては、
他にBugtraqmailing list
があります。
|