Admin Spotting for Fun and Profit

Archive for April, 2008

CentOS 5 and aide

Thursday, April 10th, 2008 Posted in Linux | 6 Comments »

In recent days, the subject of intrusion detection systems for centos has come up. To cover this and hopefully help some folks out, I've decided to do a brief writeup of Aide, the IDS which comes with CentOS. Please don't ...

ssh oneliners

Tuesday, April 8th, 2008 Posted in Linux | 2 Comments »

Some handy commands to remember when you really need to abuse ssh. ssh -X remotehost # yawn. X forwarding through ssh. ssh -Y remotehost # trusted X forwarding through ssh. Still yawn, let's do something fun. ssh -D2222 remotehost # This is okay. ...

Customize SSH

Tuesday, April 8th, 2008 Posted in Linux | 1 Comment »

SSH is a staple of *nix environments, however most people don't take the time to customize it in order to take advantage of the deeper features. If you have more than a few machines to log into or administer, it's ...

death to the tilde

Thursday, April 3rd, 2008 Posted in Linux | No Comments »

Well, for the past 2 hours, I've been fighting with mod_rewrite to get rid of the ~ character that apache shoves into a url for the UserDir directive by default. Since having a url like http://example.com/username/foo.html is far neater than ...

Sysinit triggers

Thursday, April 3rd, 2008 Posted in Linux | No Comments »

When you boot up a typical RHEL or CentOS system, there are a number of checks that occur during that boot process. While you can see most of them mentioned during startup, or via the green [OK] during boot if ...