Menu Home

Host your own shellcheck

For those of you who don’t know, is a fantastic resource for improving your shell scripts.  When I came across it, I felt that I was a pretty good scripter.  How wrong I was.  Using shellcheck has probably been the single most influential factor on my scripting since the […]

Mass-diffing files

As part of my day to day tasks, I’m auditing configuration files and tidying them up. Slowly, we’re moving towards standardised files and configuration management. The first requirement of this is gathering the existing config files into one place. You could do this with any of a number of tools, […]

Time limited sudo rights using at

From time to time, a person may require sudo rights to a particular server for a limited time. If it’s a Linux host, we can use the at scheduler and a /etc/sudoers.d conf frag to automate this. Essentially, we use at to automatically remove the conf frag when the user’s […]

Locating openssl on Solaris

Annoyingly, openssl can reside in a number of places on Solaris. I have a script that tries to call it, and initially I started with a very dirty if – elif cluster. I have long since committed it to the /dev/null in the sky, but think along the lines of: […]

The Pakeha Party

So I’ve come out of blogging retirement for this one. News yesterday is that some guy wants to start-up a Pakeha Party. And, rightly, his motivation was the Mana Party’s bizarre policy to give preferential treatment to Maori for housing loans. Owning a house doesn’t necessarily help people get out […]

Published – 2012 version

Lovage – Lifeboat Long term readers may recall that back in April 2008, I wrote a letter to the local newspaper and despite my best efforts to put in cheekiness, it was published. I’m not really big on writing letters to the papers, but every so often there’ll be something […]

Is your Linkedin password leaked?

Pink Floyd – Keep Talking News has been spinning around the net that over 6 Million passwords from Linkedin have been leaked. The general advice is to change your password, but what if you want to check that your password is on the list? You should still change your password […]

Do we hate all ‘Maoris’?

My brother Tamati linked to this article on his Friendface feed. Below is a copy and paste of my response… I may add to it and flick it towards the related discussion on Reddit. He’s an ignorant asshat who is simply regurgitating the rhetoric that’s typical of his generation. Of […]