Admin Spotting for Fun and Profit

Archive for the ‘Linux’ Category

Abusing MySQL

Thursday, May 8th, 2008 Posted in Linux | 4 Comments »

One of the larger complaints about mysql for me has always been the hoops required to find out basic information. I want to check my GRANTS periodically to check permissions. I want backups to not take forever, and I want ...

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