Why adding . to the PATH on UNIX is BAD ?

This article was first written in December 2003 for
the BeezNest technical website (http://glasnost.beeznest.org/articles/96)
Some UNIX administrators find it handy to add «.» in the PATH (and some even put it at the beginning of the PATH). Why is this bad? On UNIX, everything is made so that you don't have to do it. Anything not doing so can be considered buggy, and can be fixed easily. Imagine someone has access to write a file in a otherwise harmless directory, like /tmp for example. Image now that that someone wants to do harm.

Netfilter - iptables on Debian

To create and save iptables rules the default Debian way, this is the way to go:
  • create your rules using the CLI [1] iptables
  • save them on the active rule by issuing a /etc/init.d/iptables save active
  • create the rules for the inactive state (when booting, for example) and save them accordingly
That way, the rules will survive a reboot. To delete a specific rule previously saved as above:
  • go into /var/lib/iptables/active and take the

VirtualBox and Ubuntu packages

VirtualBox is a very practical application running under Linux systems, and packaged into Ubuntu 8.04 Hardy Heron, that lets you virtualise an operating system. A bit in the same way as QEmu did it, except that, to make it short, it works better. Anyway, VirtualBox is highly dependent on the kernel of the base system you're running it on, so it is linked to the kernel packages in Ubuntu. The only problem is that, when upgrading your kernel with the usual Ubuntu package updates, you don't get an update for the VirtualBox right away.

CVS Pocket Reference

Terminology

Term Definition
Module Typically, the CVS name for the development project directory
Checkout The action of downloading a module the first time
Commit The action of submitting a change in one or more files to CVS
Diff A list of differences between two versions of a file or a set of files
Vendor Tag Indicates the supplier of this module - used for branches naming
Release Tag Indicates

HOWTO Build a Linux kernel module out-of-tree

This article is incomplete and was first written in June 2006
for the BeezNest technical website (http://glasnost.beeznest.org/articles/340).
It could happen that you badly need to use a newer kernel module than what is present on your existing Linux kernel (2.6.x), but you do not want to upgrade the whole kernel or rebuild it from scratch, because:
  • you cannot or don't want to reboot afterwards
  • you don't have the original source anymore (and your kernel was patched) or you don't want to download and install them, but you do have the kernel headers handy
  • o

Convert Glasnost documents to HTML

If you have the same problem as we have, that most of your technical documentation has been input into Glasnost but that you want to move to Apache 2 and Glasnost doesn't support it, then you are likely to be looking into a way to convert these Glasnost articles to HTML to insert them in some other tool. This is a work in progress, so although we wanted to be able to do a one or two-parts script that extracts articles from Glasnost, converts them to HTML and inputs them into Drupal 6, we have been unable to do so (so far) because of the inadequacy of the Drupal solution (we looked into module

Flash Plugin for Linux 10 beta - Still no V4L2 support

[digg=http://digg.com/linux_unix/Flash_Plugin_for_Linux_10_beta_Still_no_V4L2_support]
Update: Flash 10 Beta 2 reportedly supports V4L2!
See the link to the Flash Developer blog below for more info.
Following comments on various blogs, Flash 10 beta does apparently not support V4L2 either. I really wasn't even thinking about any feature to add to my Flash plugin except that... well...