Archive for July, 2005

Admin CVS on RH FC2

This article was first written in July 2005 for the BeezNest technical
website (


This article mainly describes several tricks to admin a CVS install on RHFC2.

Adding a user

Adding a user for pserver is done by updating the CVSROOT/passwd file in the CVS modules repository. The passwords there are encrypted using the htpasswd utility, so use it like this:

cd /home/cvs/cvsroot/CVSROOT
htpasswd passwd user1
Please enter password: _

If the user is not a system user, you need to add a little something to the passwd file to authorize him as another user. Guessing that the CVS system user on that server is called “cvs”, update the corresponding line in passwd by trailing “:cvs”.

If needed (it shouldn’t be) restart the server by restarting xinetd.

Removing a user

Removing a user is done the same way as adding one, except for the command line being

htpasswd -D passwd user1
Categories: English, Tech Crunch Tags: , , ,

HOWTO Import/export Windows registry from/to a file

July 4, 2005 Leave a comment
This article was first written in July 2005 for the BeezNest technical
website (


Console Registry Tool for Windows - version 3.0
Copyright (C) Microsoft Corp. 1981-2001.  All rights reserved

REG EXPORT KeyName FileName

  Keyname    ROOTKEY\SubKey (local machine only)
    SubKey   The full name of a registry key under the selected ROOTKEY
  FileName   The name of the disk file to export


  FileName  The name of the disk file to import (local machine onl

Some common keys to backup

REG EXPORT "HKCU\Software\SimonTatham" "D:\PuTTY.050704.reg"
REG EXPORT "HKCU\Software\Martin Prikryl" "D:\WinSCP2.050704.reg"
REG EXPORT "HKCU\Software\TortoiseCVS" "D:\TortoiseCVS.050704.reg"
REG EXPORT "HKCU\Software\pgAdmin III" "D:\pgAdmin3.050704.reg"
REG EXPORT "HKCU\Software\FileZilla" "D:\FileZilla.050704.reg"
REG EXPORT "HKCU\Software\Star-Tools" "D:\MySQL-Front.050704.reg"
Categories: English, Tech Crunch Tags:

BeezNest’s Free Software Specialities

We have extensive knowledge in the following Free Software (in no particular order):

We have experience in running those (and more) on many hardware platforms, like:

  • Digital Alpha
  • (Ultra-)Sparc
  • PowerPC (Mac and IBM)
  • AMD64
  • ARM (iPaq)
  • MIPS
  • Motorola 68k (Mac and Sun)

We have as well experience in setting up free building environments, distributed or not, for many different programming languages.

This article was first written in July 2005 for the BeezNest technical website (

Activating the DHCP server in a Cisco router

July 2, 2005 Leave a comment
This article was first written in July 2005 for the BeezNest technical
website (

Here is an example on how to configure a DHCP server on a Cisco router.

ip domain-name
ip dhcp excluded-address
ip dhcp excluded-address
ip dhcp pool DHCPPool
   import all
   option 150 ip

Note that the DHCP pool is and that there are excluded addresses. Note also there is an extra option (here TFTP-server) configured. Everything else should be straight-forward for anybody accustomed with DHCP servers configuration.

Categories: English, Tech Crunch Tags: , ,

HOWTO Clean packages on a Debian system

July 2, 2005 3 comments
This article was first written in July 2005 for the BeezNest technical
website (

A Debian system can take more and more disk space as you install new packages. Let’s see how we can detect which packages are no longer used (unsused/obsolete/transitional) and clean them if we are sure we don’t need them anymore.

First, it is good to know that when you use apt (apt-get, aptitude, dselect, synaptic, …) the files downloaded are stored in /var/cache/apt/archives, and never cleaned. To clean them, use the following:

  • to clean obsolete packages (packages of version which would not be installed if requested now)
$ sudo apt-get autoclean
  • to empty all /var/cache/apt/archives/*.deb
$ sudo apt-get clean

If using aptitude, it keeps a track of packages taken to fulfill dependencies to other packages, so not installed explicitely, which allows to remove packages when the package that needed it is removed.If using another apt tool, it does not keep such information, so there are probably dependencies left after a removal.

To keep track anyway of these dependencies, Debian provides the debfoster tool.

To detect such orphaned packages, Debian provides the deborphan tool.

When used without parameters, it only lists the libraries on which no package depends.

$ deborphan

I suggest using the following parameters, which list all orphaned packages, with their respective sizes (works only starting from Sarge).

$ deborphan -az

And I personally sort them to first remove the biggest ones.

$ deborphan -az | sort -n

There are lots of locales supported by Debian packages, which may take up quite a lot of disk space. The Debian tool localepurge permits to wipe the unused locales.

When upgrading from one Debian release to another, some packages maybe left without being of any use, and are pretty difficult to track. To detect them, Debian provides the apt-show-versions tool.

There are also many transitional dummy packages that exist only for the upgrade to happen smoothly. To detect them:

$ dpkg -l|grep dummy
$ dpkg -l|grep transitional
$ dpkg -l|grep obsolete
%d bloggers like this: