How to Enable Passwordless Authentication with SSH

July 28, 2007 at 5:12 pm

Often times you have automated scripts that require access to multiple machines from a single source and need to do so without having to deal with ssh password prompts. And in other instances you may have a bastian host (strong point) security model which you would like to have passwordless communication from. Below are 10 steps to setting up passwordless authentication with SSH in Linux.
(Read more…)

Leave a comment

Category: Systems 101

Configuring MCrypt Support For Mod_PHP

June 11, 2007 at 2:48 pm

MCrypt is a replacement for older crypt() package and crypt(1) command with extensions. It allows developers encryption functions, specifically allowing users to encrypt files or data streams.

Configuring MCrypt support for Mod_PHP can be a pain so hopefully this article will help!
(Read more…)

Comments (5)

Category: Systems 101

Quick and Dirty How To Write an Init Script

June 4, 2007 at 6:44 pm

Often times you may have an application that needs to be boot strapped or started automatically via an Init script. Below is a quick and dirty sample Init script to help you get on your way. Also the the article will cover chkconfig options to start the script at the correct run level.
(Read more…)

Leave a comment

Category: Systems 101

String Substitution in PERL vs SED Removing Disk I/O Factor

May 28, 2007 at 5:59 pm

A lot of systems administrators will use SED for string substitution, when they should try using PERL. When doing string substitutions with SED the string substitutions write to a seperate file, then the file is copied over the target file. This second file that is created utilizes Disk I/O, another issue you can run into are file permissions if your umask doesn’t match the permissions of the target file. With PERL you do not have any of these issues since its effects are directly onto the target file with no usage of secondary files therefore not Disk I/O.
(Read more…)

Comments (2)

Category: Systems 101