Change MySQL Database Location

General Information

The default location for your MySQL database data files may need to be moved to another partition that offers more storage space, or you may want to keep your data organized. These simple steps allows you to move your MySQL data without losing any information.

[Read more...]

Network Configuration FreeBSD

General Information

Network configuration in FreeBSD can be a bit difficult because there are a few different text files to edit in order for your changes to be permanent. Hopefully this guide will clear some things up.

[Read more...]

Installing Applications FreeBSD

General Information

Coming from a Linux or Windows background, many people begin to wonder where to get and how to install applications on FreeBSD. Well, with FreeBSD most applications can be installed from the Internet so you don’t have to find the tarballs. There are two different installation methods to choose from and they both do a great job dealing with dependancies.

[Read more...]

Installing Applications OpenBSD

General Information

Maybe you are switching to OpenBSD from Linux or Windows. Or maybe you are familiar with FreeBSD and its ports and packages systems. Either way, you may be wondering how to install applications on this secure OS. Like FreeBSD, most applications can be installed from the Internet. There are two different installation methods to choose from and they both deal with dependancies.

[Read more...]

Watch Terminal Activity

General Information

Have you ever had a user login to your box and then ask you for help? Or have you ever been curious as to what your users are doing on your system? The watch(8) utility will let you snoop another tty, allowing you to see what your other users are doing and even interact with them. It’s a must-have utility for every network administrator.

[Read more...]

Locking Your Shell

General Information

Often times we SSH into our BSD boxes and then have to leave our stations for a little bit. If we don’t do anything special with our open terminal, that poses a serious security threat to our boxes. Wouldn’t it be nice if we could just lock the open terminal without having to close the connection? Well, we can with a built-in utility called lock(8). There is also the vlock port that I will discuss as well.

[Read more...]

Working With ACLs

General Information

File servers that run Microsoft Windows will typically have the shared resources locked to some users/groups while other users/groups can have full rights on the same share. How can this be if standard permissions are generic for one user, one group, and everybody? This is accomplished with the use of Access Control Lists (ACLs) and the UNIX environment can also apply these variable permissions to files and directories. Not only can they support the feature, Windows clients that connect to your Samba shares will respect them as well.

[Read more...]

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

Setting up IMP Webmail

General Information

When I first set up my mail server, I was faced with a dilemma — which webmail program should I use? I started out with SquirrelMail, but I soon installed vpopmail and needed a webmail client that could support virtual users. So, my next stop was NuralStorm, but it lacked some features I wanted. I had always heard about Horde’s webmail client, but I was always afraid of it because of it’s complexity. This guide aims to ease your mind about IMP and help you install it and get it running from a base system and an updated ports tree.

[Read more...]

Secure Apache 1.3

General Information

Apache is the most popular web server in use today. But, not everybody that sets up their Apache server takes the necessary steps to secure it properly from intruders. This guide will show you some good security changes to make to your Apache installation.

[Read more...]