Linux disable or enable ExecShield protection
Q. Now that I have Cent OS (RHEL clone) installed on my IBM server, I’m wondering what is ExecShield and how do I disable the same?
A. ExecShield is security Linux kernel patch o avoid worms and other problems.
Wikipedia has more information about Exec Shield project:
Exec Shield is a project that got started at Red Hat, Inc in late 2002 with the aim of reducing the risk of worm or other automated remote attacks on Linux systems. The first result of the project was a security patch for the Linux kernel that adds an NX bit to x86 CPUs. While the Exec Shield project has had many other components, some people refer to this first patch as Exec Shield.
Task: Disable ExecShield protection
Type the following command as root user:
# sysctl -w kernel.exec-shield=0
You can disable it permanently system-wide after each and every reboot by adding following line to /etc/sysctl.conf file:
# vi /etc/sysctl.conf
Append following line
kernel.exec-shield = 0
Save and close the file. Please note that I don’t recommend disabling ExecShild protection.
You can also disable protection by appending the following parameter to the kernel command line in the GRUB bootloader to kernel line:
# vi /etc/grub.conf
Modify / append exec-shield=0 parameter as follows:
kernel /vmlinuz-2.6.8 ro root=LABEL=/ exec-shield=0
Close and save the file.
E-mail
Print
Can't find an answer to your question? Contact us
Related Other Helpful FAQs:
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!


Recent Comments
Today ~ 88 Comments
Today ~ 6 Comments
Today ~ 7 Comments
11/07/2008 11:19 am (4 weeks ago) ~ 7 Comments
Today ~ 5 Comments