Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

grsecurity kernel help/questions

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

  1. CBG

    CBG Active Member

    Joined:
    Apr 23, 2010
    Messages:
    36
    Likes Received:
    1
    Trophy Points:
    58
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. CBG

    CBG Active Member

    Joined:
    Apr 23, 2010
    Messages:
    36
    Likes Received:
    1
    Trophy Points:
    58
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice