Random knowledge II.

If you turn on the Xscreensaver module called Sonar while you're running a packet monitoring application (such as TCPdump), people are less likely to think you're doing anything shady, because "Only hacker tools don't have GUIs." Always hack your shell's personal configuration file (~/.bash_profile, for example) to change your shellprompt if you use GNU screen. That way you can tell what shells you've left open are single-access shells and which shells are multiplexed through a single connection with screen. It can get confusing sometimes. Because a shell run inside a GNU screen metaterminal sets an environment variable called $WINDOW, you …

Read more...

OpenBSD: Source tree updater.

This is a shell script for OpenBSD that will automatically update the source tree for your systemware as well as the ports collection from a public CVS server. This file must be edited to configure the $CVSROOT variable as well as the branch of OpenBSD that you're following (for example, OPENBSD_3_8). It must be run as root, and I'm too busy right now to add a check to make sure that the user running it has root privileges. Use your brain: Put it in /root, mode 0700.

update_source_trees-1.0.sh