Archive for the ‘Tool of the Week’ Category

Changing Putty’s right-click behaviour

Thursday, December 18th, 2008

Anyone who uses Putty a lot will inevitably accidentally paste something into their putty window due to Putty's right-click to paste default behaviour, often resulting in pasting relatively embarassing content like SQL that should never be seen in daylight, or at least a customer's root password. However, I found this putty ...

Why I love dmidecode

Thursday, August 7th, 2008

I was asked to provide more ram for a server today, specified only by name. I have login details, but it's in a datacentre in Auckland, and I'm in Hamilton, so I can't wander over to check details. Enter dmidecode: [code] ... System Information Manufacturer: Dell ...

OSS Network Imaging / Install services

Sunday, June 22nd, 2008

I'm very interested in the topic of network deployments of operating systems, specifically the various Microsoft OSs, as I can already install linux via PXEboot. There's two main groups of software in this field - unattended or scripted installs, and imaged installs. A while ago I found a tool called Unattended, ...

Using monit for system and process monitoring

Sunday, June 22nd, 2008

One of the servers I maintain is the jabber server at jabber.meta.net.nz. This is a free public service, anyone can use it, and it does get quite a wide range of use - for a long time we seemed to be very popular for south american users, possibly because of ...

NUT: Network UPS Tools

Tuesday, August 28th, 2007

I was tweaking the UPS rules at a client's site, when I noticed that the base NUT configuration that we use didn't really do a hell of a lot. The example config files had some hints as to what were needed, but unless I missed something fundamental, didn't have the ...

“Useful” command line tools

Monday, August 20th, 2007

A coworker was doing some work on a server we're building up, and wanted to kill a bunch of processes. The killall binary wasn't installed for some reason (default etch install, probably just missing the package), but he found a killall5 binary instead. For those of you who don't know, killall5 ...

Miro – Internet TV

Saturday, July 21st, 2007

Miro, formerly known as Democracy TV, made its first public release a few days ago.  It's available at http://www.getmiro.com/. Miro is like a blog aggregator for video sources such as YouTube and Google Video, as well as provider content such as various news  and science tv channels, The Onion. Installing it ...

Restricting ssh password auth by group or shell

Monday, October 30th, 2006

Matt Brown asked if I could think of any way to allow a certain group of users to scp into a host and use a password, while requiring a valid key pair for most other users. Perry suggested a solution to this a while ago, so I sat down and ...

Building Debian packages with YADA

Saturday, July 15th, 2006

I have recently had to build some debian packages for software we distribute to our clients. I've built debian packages in the past, but I was a bit rusty so was looking at a similar package to the one I was working on at the time, a collection of php ...

DenyHosts

Friday, June 16th, 2006

If you have computer on a public-facing IP address, and it runs an SSH server on port 22, chances are pretty good you'll be subjected to a number of dictionary attacks. Compromised hosts will try to login with a list of common user names and passwords. Now, this isn't a ...