
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
52
|
Chapter 3: Hardening Linux and Using iptables
(Note that your named startup script may have a different name and exist in differ-
ent or additional subdirectories of /etc/rc.d.)
Keeping Software Up to Date
It isn’t enough to weed out unnecessary software: all software that remains, includ-
ing both the operating system itself and “user-space” applications, must be kept up
to date. This is a more subtle problem than you might think, since many Linux dis-
tributions offer updates on both a package-by-package basis (e.g., the Red Hat Errata
web site) and in the form of new distribution revisions (e.g., new CD-ROM sets).
What, then, constitutes “up to date”? Does it mean you must immediately upgrade
your entire system every time your distribution of choice releases a new set of CD-
ROMs? Or is it okay simply to check the distribution’s web page every six months or
so? In my opinion, neither extreme is a good approach.
Distribution (global) updates versus per-package updates
The good news is that it’s seldom necessary to upgrade a system completely just
because the distribution on which it’s based has undergone an incremental revision
(e.g., 7.2
➝ 7.3). The bad news is that updates to individual packages should proba-
bly be applied much more frequently than that; if you have one or more ...