Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2006

    Easy way to install grsec ?

    I am using Centos 5.5 and RHEL 5.6 on my Cpanel servers. So far I always used "yum install kernel" or installed a kernel using "rpm -ivh kernel.rpm" when I needed a new kernel. This time I would like to install grsec on the new kernel. It seems the above commands won't do that. Rather I seem to have to download the kernel source, then patch the kernel with grsec and then compile it myself.

    I found this tutorial:

    However, on the following page that is linking to they say one should not compile a kernel as root since that may break stuff on the system to a degree where a reinstall may become necessary:

    On the other hand setting up a user and buidling an environment for this user to compile the kernel seems like more work than I am willing to invest (eventhough I have not yet checked how much work it actually is)

    Is it safe to compile the kernel as root as per the instructions in the first link ?
    Is there another easy solution to get this done ? I do not really want a custom kernel... just the standard kernel patched with grsec.

    Thanks in advance for any useful information.

  2. #2
    Join Date
    Nov 2001
    Ashburn, VA
    The easy way would be to use ASL. It bundles grsec with modsecurity and several other security packages.
    Affordable web hosting, design, & domain registration services since 2001

  3. #3
    Join Date
    Mar 2002
    Philadelphia, PA
    If you're looking for an automated way to do this, there are several unofficial yum repositories that contain kernels with grsecurity. Have never used so can't comment on the reliability of said repos.
    Linux junkie |

Similar Threads

  1. grsec/grsecurity install to kernel 2.6.18 Centos cPanel
    By sharmaine1111 in forum Hosting Security and Technology
    Replies: 12
    Last Post: 01-10-2011, 03:15 PM
  2. grsec WARNING: No module mptscsi found for kernel, continuing anyway
    By uploadalerts in forum Hosting Security and Technology
    Replies: 3
    Last Post: 03-29-2008, 11:03 PM
  3. oscommerce, easy to install and use?
    By carrera2 in forum Ecommerce Hosting & Discussion
    Replies: 25
    Last Post: 02-23-2008, 11:32 AM
  4. Need someone to mass-install easy-to-install script
    By shadowoflife in forum Employment / Job Offers
    Replies: 1
    Last Post: 02-25-2003, 10:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts