Category Archives: Howto’s

How to do stuff!

OTP (one-time passwords) on Debian Squeeze SSH logins

So, you’re out of your secret lair and now you need to log in from a computer you don’t trust. After all, every computer you don’t administer is most likely full of viruses, malware and probably even a hardware keylogger somewhere along the keyboard cord, right? So you want to use a one-time password, so […]

Avoiding invalid commands in Bash history

To avoid having stuff like “ls” in my bash history, I added “ls” to the “HISTIGNORE” environment variable. However, on late nights, the result of this, and my left and right hand becoming out of sync with each other when I’m tired, is that the entry “sl”, which really doesn’t do anything, started showing up […]

Improve the mouse response and acceleration in Debian

Note: This information is now slightly outdated, as the patch is already in Debian Squeeze. One of my biggest issues with moving from Windows to Linux as my desktop is how the mouse is handled in xorg. In xorg, the mouse had (and still has, in Debian Lenny) two settings for mouse speed: acceleration and […]

Encrypted swap in Debian

So, you got your home directory encrypted, but you’re not sure what sensitive material could end up in swap? After a long day of running a whole lot of applications and processes, many interesting things could potentially wind up there. So here’s how to make sure that data is completely garbled after a reboot.

irssi auto-connect and auto-identify

There are loads of irssi scripts which do this, but the truth is irssi actually supports these things very well out of the box. Here’s how. Start up irssi, then: /connect irc.freenode.net /nick MyIRCNick /SERVER ADD -auto -network freenode irc.freenode.net 6667 <password> (you may have to shutdown and restart irssi at this point for it […]

Disable Debian’s motd on login

Tired of seeing this? Linux ***** 2.6.18-6-686 #1 SMP Fri Jun 6 22:22:11 UTC 2008 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable […]