Chrooting Apache and PHP

General Information

Chrooting has been around for a long time now. Chrooting makes a program believe that the root of the file system is higher up in the hierarchy. For example, if I wanted to create a chroot in /chroot/httpd, a program executed from within the chroot would believe that “/chroot/httpd” was actually “/”. There in lies the beauty as the program can’t reach any files outside “/chroot/httpd”. Security of the server as a whole is increased due to the fact that the system binaries are off limits. In addition, chroots usually only have the bare minimum files inside, so exploits have a harder time breaking in.

[Read more...]

CGD Setup

General Information

CGD info:

This report describes how to setup an encrypted filesystem on NetBSD/i386. All partitions (except root) shall be encrypted on an existing installation.

[Read more...]

NetBSD Diskless Installation

Introduction

Examples here use OpenBSD/sparc64 to provide DHCP, TFTP and NFS services for booting an x86 laptop in a diskless configuration.

[Read more...]

Update NetBSD

General

Just like any of the BSDs, NetBSD can be upgraded by grabbing the latest builds and compiling them from the Internet. Below are the steps to perform this.

[Read more...]