The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

grsecurity kernel help/questions

Discussion in 'Security' started by CBG, Apr 17, 2014.

  1. CBG

    CBG Member

    Joined:
    Apr 23, 2010
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,.

    I have a unmanaged cPanel/WHM VPS running vmware and CentOS 6.5.
    I installed the CentOS Kernel using yum, so I could get ConfigServer Firewall working.

    I would like to setup a grsecurity kernel and would like some advice

    wget http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.2.57.tar.gz
    wget http://grsecurity.net/stable/grsecurity-3.0-3.2.57-201404131252.patch

    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. Will it be just the one file I need to copy over to the boot folder?

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

    Code:
    default=0
    timeout=5
    
            title linux centos6-cpanel11_64
            kernel /boot/kernel_filename_here root=/dev/sda1  ro
            root (hd0,0)
    
    If you have any advice or help, that would be great.
     
  2. CBG

    CBG Member

    Joined:
    Apr 23, 2010
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page