> I was told that kernel 2.2.16 is more secure than 2.2.12, which
> was part of my Redhat 6.1 distribution.
> I would like to upgrade in a way that all the options that were
> built into the origional kernel that came with Redhat 6.1
> remains the same. I don't know what those options are?
> How to accomplish the task?
Easiest solution: use the kernel RPMs on Red Hat's FTP site
(updates.redhat.com). You can find links to them from the Web site,
where the upgrade is listed under the `security advisories' pages.
The options may not be identical to the old 6.1 kernel (after all, the
new kernel probably has several new features enabled), but you
shouldn't lose any functionality. Be sure to follow the instructions
on the web pages on how to upgrade the kernel. While you're at it, it
would be a good idea to upgrade other packages in your distribution
that have security advisories against them; several packages are
vulnerable to remote root exploits unless upgraded.
If you insist on compiling your own kernel, you can install the
kernel-sources-2.2.12 rpm from your old distro. This contains a file
/usr/src/linux-2.2.12/.config (notice the dot), which contains the Red
Hat 6.1 default kernel configuration. Copy this to the new kernel
source tree /usr/src/linux-2.2.16, and configure the kernel using
`make oldconfig' rather than the usual `make config' (or make xconfig or
whatever). This should then only ask you about how to configure the
new features of the kernel. The rest of the procedure for compilation
and installation of a kernel is also documented on the Red Hat web
pages.
HTH,
Stephen.
--
University of Cambridge, Zoology Department, Downing Street, CAMBRIDGE CB2 3EJ