HOWTO Use the /etc/cron.* infrastructure on Debian

This article is incomplete and was first written in June 2006
for the BeezNest technical website (http://glasnost.beeznest.org/articles/339).
On Debian, an infrastructure is in place in directories /etc/cron.* to extend and improve the crontabs.

Why ?

Usually, crontabs are managed at the user level, which can start crontab -e to edit its own or crontab -l to just list it.

HOWTO Automatically clean thumbnails generated by Nautilus

This article is incomplete and was first written in June 2006
for the BeezNest technical website (http://glasnost.beeznest.org/articles/338).
To automatically clean the thumbnails generated by Nautilus, and who never get cleaned by GNOME itself and can really fast occupy a large part of your disk space, I setup a cronjob like this in /etc/cron.d/clean-gnome-thumbnails on my Debian:
#
# Clean GNOME thumbnails files
#
# Every day, at 22h.
0 22    * * *   root    find /home/*/.thumbnails/ -type f -atime +90 -exec rm {} ;
This cronjob would remove thumbnails older than 90

Upgrading from Sarge to Etch

This article is incomplete and was first written in June 2006 
for the BeezNest technical website (http://glasnost.beeznest.org/articles/336).
This is a procedure to upgrade a Debian Sarge GNOME Desktop PC to Debian Etch. First, make sure you are not using devfs. If you are using udev, or no device manager daemon, then you are ready. Also, I did not test upgrade from a 2.4 kernel, only 2.6 to 2.6. Make sure all your packages belong to well-known apt sources, otherwise, you will probably have to fix things by hands later.

HOWTO Authenticate access to parts of webserver using PAM and Apache

This article is incomplete and was first written in June 2006
for the BeezNest technical website (http://glasnost.beeznest.org/articles/337).
To require authentication of parts of a webserver using PAM and Apache. That way, you can require a user or users of a group to enter a valid username and password to access some parts of your website using PAM, the default authentication infrastructure on most Unices. To do this, you need first to install the appropriate PAM authentication module for Apache.

HOWTO Move a CVS repositoy between servers on Debian

This article was first written in May 2006 for the BeezNest technical
website (http://glasnost.beeznest.org/articles/334).
Basically, moving a CVS repository itself is not really difficult. Let's assume first that we don't use the pserver mode of CVS, which is known to be weak with respect to security. We use then the SSH transport to access the CVS server, which we strongly recommend. On Debian, the CVS repository is located by default in /var/lib/cvs. At install time, a debconf question asked you where to set it.

HOWTO Manipulate POSIX ACL on Linux 2.6

This article was first written in March 2006 for the BeezNest technical
website (http://glasnost.beeznest.org/articles/330).
Disclaimer: The purpose of this article is not to explain the purpose of POSIX ACL. To manipulate POSIX ACL on Debian, with a 2.6 kernel (starting from Sarge):
  • install package acl
  • edit /etc/fstab to add option acl to the mountpoints where you want to use ACL
  • play with getfacl and setfacl
See

Linux CIFS Client

This article was first written in February 2006 for the BeezNest technical
website (http://glasnost.beeznest.org/articles/328).
Extract from the Linux CIFS Client homepage: The CIFS VFS is a virtual file system for Linux to allow access to servers and storage appliances compliant with the SNIA CIFS Specification version 1.0 or later. Popular servers such as Samba, Windows 2000, Windows XP and many others support CIFS by default.