Ubuntu Linux: Turn On Exec-Shield Buffer Overflow Protection

Exec-Shield is a security feature in the Linux kernel that provides protection against buffer overflow attacks. To turn on Exec-Shield on Ubuntu, you need to modify the boot command line and add the following parameter:

execstack=off

Here are the steps to do this:

  1. Boot into the GRUB menu by holding down the Shift key during boot.
  2. Select the boot option you want to modify and press ‘e’ to edit the boot command.
  3. Find the line starting with ‘linux’ and add execstack=off at the end of the line.
  4. Press Ctrl + X or F10 to boot with the modified parameters.

Note: The above steps may vary based on your Ubuntu version and the boot loader you are using.

Leave a Comment