Archive for the 'Howto's' Category

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 in [...]

Read Full Post »

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 threshold. Simply put, what these do is that whenever the mouse is moving faster than [...]

Read Full Post »

Enlightened XFCE4

A howto stolen from http://ubuntuforums.org/showthread.php?t=101066 for later use. All credit to its writer, Iandefor.

Read Full Post »

From version 4.3p2, sshd supports an interesting option called Match. At the time of writing, this is the version supplied with Debian Etch (stable).

Read Full Post »

Encrypted swap in Debian

So, you got your home directory encryopted, 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.

Read Full Post »

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.

Read Full Post »

On machines which are set up to have no local mail and send all their messages to a smarthost, using e.g. exim4, the “No mail.” message at login is both unnecessary and annoying, because when things are set up correctly, there should never be any local mail in the first place.
This can be remedied by [...]

Read Full Post »

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 law.
Last login: ***** from *****
Edit /etc/motd, [...]

Read Full Post »

Today I had to bring up an old virtual machine which was used to test some homebrew modifications to the apache webserver. The root password, of course, was nowhere to be found. What can you do?

Read Full Post »

Has your desired eth0 ended up as eth1 and the other way around? Did you put in a new network card, having every config file set to use eth0, and the card shows up as eth1?

Read Full Post »