OVH Community, your new community space.

grsecurity kernel help/questions

18-04-2014, 12:30
I got this sorted.
I followed
But used a new version of the Kernel and GRSecurity patch.

Then I editted the grub.conf to remove the old kernel and rebooted.

17-04-2014, 15:30

I have a VPS Cloud 1 which has is a vmware, with CentOS 6.5 and cPanel/WHM on it.
So I could get ConfigServer Firewall working, I installed the CentOS kenerl through yum

I would like to setup a grsecurity kernel and would like some advice
So far I have the below?


tar -xf linux-3.2.57.tar
cd linux-3.2.57
patch -p1 < ../grsecurity-2.9.1-3.2.57-201404131252.patch

make menuconfig

1. Is the above correct

2. Can I download the 2 files anywhere on the VPS?

3. Once I have patched and configure it, do I move it to the /boot/ folder?

4. How many files will I need to move to the boot folder?

5. Do I then config the grub.conf file like the below


        title linux centos6-cpanel11_64
        kernel /boot/kernel_filename_here root=/dev/sda1  ro
        root (hd0,0)
6. If I need to add more modules to the kernel, if make it, do I just do menu makeconfig to change it and copy it to the /boot/ folder?

If you have any advice or help, that would be great.