Linux: Changing UIDs and GIDs for a user

Just had to do a quick switch over of UID and GIDs for a couple of users. I'm using Puppet to manage server configurations and it's got some nice features for automating the set-up of users. Unfortunately when I initially set-up the puppet directives, I overlooked setting the UID for…

SSH SOCKS Proxy

I first saw this tip a while back on the Ubuntu Blog and it's a useful way of using SSH to set-up private web surfing. Not to mention I've come across several public wifi installs that leave port 22 unfiltered so providing you set firefox to run the DNS from…

Dedicated server recovery mode

This is really just a note for my future reference, but these details should pretty much apply to most linux servers that have a recovery mode. As is the case with several suppliers the instructions for how to mount the hard disk to fix problems are often left out or…

Keeping ssh connections alive

Picture this; you come back from lunch at "My Old Dutch Pancake house" and every one of your ssh connections has been closed due to lack of activity. It's reasonable that the server you are connected to (or the hardware you are connecting through) closes connections due to…

Ubuntu Breezy Badger install horrors

I decided to check out Breezy Badger the latest version of Ubuntu linux. First I thought I would try the in place upgrade from Hoary to Breezy by altering /etc/apt/sources.list to the Breezy repositories and then running sudo apt-get update and sudo apt-get dist-upgrade. First all seemed…

fscked up beyond all recognition

Strange things were afoot this evening when I switched on my laptop. Ubuntu did the intermittant "HAL could not be initialized" error first of all. A quick reboot and everything seemed ok for a couple of minutes. The update indicator was red so I though I ought to do a…

Ubuntu Ubuntu they drink it in the congo

XP Pro started giving me grief on my laptop with a blue screen every time I booted it up, which seemed to relate to the wireless card. So to fix the problem I installed Ubuntu Linux, problem solved! Installation is text based, and I found that was the only thing…