Language Selection

English French German Italian Portuguese Spanish

Grsecurity Patched Kernel Install Script For Redhat based Pentium 4 servers

Filed under

After a lil work getting the config right for s hosting/shell server I finally came up with the script that will patch, compile, and install the gresecurity patched kernel. You just run the shell script and it will download the kernel and patch, patch the kernel, download the config, and then compile and install.

The config I got made up is for Pentium4/Xeon/Celeron based servers. It includes all necessary option for an average pentium based server with single processor. The grsecurity level is set to low along with proc restrictions where users can see only their processes, I find the proc restrictions more of a convenience then actual security procedure because shell users do not have to go through all the processes to find theirs nor do they have to do ps -u so it is a pretty handy feature.

All xtables, iptables, and such are enabled. Lots of generic options are selected but nothing that is not needed by at least some machines.

I have ran this script successfully on a fedora and 2 centos servers and it done just fine. As far as stricter security options and pax goes a lot of them do not work well with your typical hosting server. The way it is now it is very secure and protected against local exploits while stoill being totaly functional and not over restrictive.

To get instructions on running this go here

Nobody should have any problems what so ever if you are running a pentium 4 based single cpu server with 512mb-2gb ram. Let me know if anyone has any problems or needs any help.

I figured quite a few people could find this handy, not just beginners but for busy admins who do not have the time to do all this and sit and watch it. It is nothing but a simple sh script, there is no shellcode or any other code involved.

More in Tux Machines

Citizens call on Dortmund to use free software

Four citizens of the German city of Dortmund have started a citizens’ initiative, asking the city council to seriously consider the use of free and open source software. “The city needs to recognise free software as a topic in the public interest”, the DO-FOSS initiators write. Read more

NVIDIA Tegra DRM Driver Supports Atomic Mode-Setting In Linux 3.20

The latest work landing in the DRM-Next code-base for the Linux 3.20 kernel merge window is the Tegra DRM driver updates. The Tegra DRM driver is primarily designed to support the Tegra 4 and older SoCs while the Tegra K1 and newer is supported by the Nouveau DRM driver due to the graphics core now being common with their mainline desktop architecture. The Tegra K1's GK20A graphics core is derived directly from Kepler while the brand new Tegra X1 is derived from Maxwell. Regardless, the Tegra DRM driver continues to be actively developed by NVIDIA stakeholders. Read more

LibreOffice 4.4 the beautiful

We are very close to release LibreOffice 4.4 and I thought I’d share my thoughts on the work that has been put into this new branch and what the general idea is about it. LibreOffice 4.4 is unusual; as a major release you may expect some important underlying change in its architecture, or the inclusion of a set of major features. The 4.4 does include several important features and improvements, most notably for Impress and the much forgotten HTML editor (the comprehensive release notes may be found here). But the most important details are not to be found in this area. If you want to understand where the 4.4 branch is headed, I think it is useful to keep two fundamental trends in mind. Read more

Embedded Linux Conference hijacked by drones

The Embedded Linux Conference + Android Builders Summit on Mar. 23-25 in San Jose is about “Drones, Things, and Automobiles,” but drones get the most love. Maybe it’s just our imagination, but the Linux Foundation’s Embedded Linux Conference seems to be getting more interesting than ever. The program increasingly reflects new opportunities for Linux in areas such as drones, robots, automotive computers, IoT gizmos, 3D sensing, modular phones, and much more. For those of you worried that ELC North America is skimping on the basics as it explores the more colorful sides of Linux, rest your mind at ease. There are still plenty of sessions on booting, trace analysis, NAND support, PHY frameworks, power management, defragmenting, systemd, device tree, and toolchain. Geeks still rule! Read more