Unix Review > Archives > 2006 > May 2006

UnixReview.com
May 2006

Security: More Adventures in Kernel Security

by Kristy Westphal

As promised, I took my own advice and started playing around with some of the improved kernel modules that I wrote about in a previous article. As the title of this monthęs article implies, getting to use the new kernel was an adventure in and of itself. My kernel module of choice for this exercise was grsecurity.

I wanted to use the latest kernel patch and needed a platform on which to try it. After searching around for a Linux distribution that was built on the most recent kernel, I settled on the latest Rubix distribution. Rubix is a distribution maintained by Joshua Rubin, who intended this to be a "Slackware-like, stable and supported distribution" with added security. It can be found at http://www.rubixlinux.org.

I ran into a couple of quirks with Rubix, the first one of which was that I couldnęt get the Live CD (the installation disk) to work in VMware (it would simply die). Secondly, Rubix wonęt detect which partition you've just installed it to, so you have to modify the grub menu manually. Luckily, I found a post on the Rubix forums that explained how to get around this:

ęthe install went fine until I rebooted and then it stopped after i selected the rubix off of the grub menu. the error was 'file not found' meaning grub was trying to find vmlinuz on /dev/hda3 and I installed in /dev/hda5. I only had to press the "c" key for the shell and then these grub commands worked for my situation: root (hd0,4) kernel /boot/vmlinuz root=/dev/hda5 ro quiet bootę
You can go in and fix the grub menu once you have been able to boot up properly.

Sys Admin Spotlight

CMP DevNet Spotlight

Career Center: Going It Alone
Ever dreamed of leaving that corporate development job for the challenges of independent software consulting? Here are 10 tips to make your solo career path a success.

In the News

CD-ROM

Sys Admin and The Perl Journal CD-ROM version 11.0

Version 11.0 delivers every issue of Sys Admin from 1992 through 2005 and every issue of The Perl Journal from 1996-2002 in one convenient CD-ROM!

Order now!




MarketPlace

Build IT Knowledge with Current & Trusted Content
Helps Employees Develop & Hone New Technical Programming Skills. Sign Up & Get Full Access.

Six Sigma Certification
100% Online-Six Sigma Certificate from Villanova - Find Out More Now.

Discover WinDev 11 RAD
and develop 10 times faster ! ALM, IDE, .Net, PDF, 5GL, Database, 64-bit, etc. Free Express version

Domain Name Registrations, Web Hosting, Email
Pay less for Domain Names, Increase your company's bottom line - get a raise. Accredited domain name registrar, ZippyNames.us : Discount bulk transfers, email, webhosting, dedicated servers. Earn money as a domain name reseller - better discounts!

Wanna see your ad here?