Hardening FreeBSD

General Information

After a fresh install, it is important to harden the security on a server before it hits your network for use. Not only making configuration changes aid in the security of your box, but there are some practical rules to abide by. These are some hardening tips to make your FreeBSD box more secure and will apply to both the 5.x and 4.x branches, but I will assume you are running 5.x. If a 4.x change is different, I will note it.

[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...]

Creating Compressed Archives

General Information

You’ve downloaded them, you’ve extracted them, you’ve liked them. But how do you create them? This guide will show you how to quickly and easily create a compressed archive in the form of *.tar.gz and *.tar.bz2.

[Read more...]

Basic Installation OpenBSD

General Information

OpenBSD has a claim of being the most secure Operating System out-of-the-box. The problem is the installation is not very intuitive. Here I will be guiding you through a standard installation of OpenBSD 3.5 and this guide assumes you have a basic i386 PC to work with and will be using your entire disk for OpenBSD. Nothing fancy or unordinary. For this guide, I used a 3.0 gig harddrive.

[Read more...]

Managing Users/Groups With pw

General Information

This guide will let you know how to manage FreeBSD accounts using pw, a critical application which can manipulate a lot of things that have to do with the /etc/passwd file and /etc/groups file. It can also set certain things like how long the account can be active, until what date it is active and other cool things. The easiest way to learn how to use pw is to play with it on a test install.

[Read more...]

Security Tips

General Information

Security is one of the most important things in administrating any sort of computer system. FreeBSD is certainly much more secure than Windows and other popular computer systems; however, most security problems lie within the user and other running software on the system than the OS itself. This guide will give a few hints and examples to make it a fair bit harder to violate your system.

[Read more...]

Fix Gettext Dependancies (portupgrade)

General Information

Something I’ve noticed recently after updating my ports tree and trying to install something is that the latest version of gettext is causing compiles to fail on anything that relies on it. This has been happening on both my FreeBSD 4.8-RELEASE and 5.1-RELEASE machines so it doesn’t seem to be something just specific to a certain release. The easiest way to fix these annoyances is to install portupgrade and just update everything that depends on gettext.

[Read more...]

Scheduling Tasks

General Information

Cron is the *nix program that runs scheduled tasks that are read from /etc/crontab. This guide will teach you how to make a scheduled process by using cron.

[Read more...]