Zero Filling a Disk in Linux

Zero Filling a Disk in Linux

The simple way to wipe or zerofill a disk is: dd if=/dev/zero of=/dev/sd? bs=1M However I found an article describing how to zero-fill with a progress indicator using pipebench, installed on Debian/Ubuntu ...

Increasing CentOS LVM under VMWare

Increasing CentOS LVM under VMWare

Background: I had an existing CentOS machine as a virtual machine running on VMWare ESX Server and it was running out of space so for future reference I did the ...

SquidGuard LDAP User Search and Special Characters

SquidGuard LDAP User Search and Special Characters

So I had a problem with the ldapusersearch string as some eejit has created an OU with spaces and an apostrophe in the name. So the characters are represented as: comma ...

Flushing local client DNS cache

Flushing local client DNS cache

From info I found here. This is how to flush the local client DNS cache. Windows: ipconfig /flushdns Linux: sudo /etc/init.d/networking restart Mac: lookupd -flushcache

Browsing all articles from February, 2011

OWA Change Password button

OWA allows for changing the AD/domain password but in our case this needed to be disabled as currently password syncronisation back out to the other directories is not possible.EMC > [...]

Ubuntu NumLock Problem in Hardy

Symptom: The Num Lock key does not seem to have any effect and the number keys do not work.Cause: Upgrading from Gutsy to Hardy Heron 8.04. I keep my home [...]

Offline Addressbook Problems

I had a customer who was having difficulty sending emails to a user who was given a new mailbox/email address. Updating the addressbook in Outlook (via Tools > Send and [...]

mod_spamhaus on CentOS 5

Trying this module out on Centos 5 and Apache 2 to see how it goes (Debian install how-to here) yum install httpd-devel (if ‘which apxs’ shows nothing) wget http://www.mirrorservice.org/sites/download.sourceforge.net/pub/sourceforge/m/project/mo/mod-spamhaus/mod-spamhaus/0.7/mod-spamhaus-0.7.tar.gz ln [...]

Active Directory MMC – Object Tab

I keep forgetting how to enable the ‘Object’ tab in the Active Directory MMC to view the location of an object in the tree, so for future reference….In the main [...]

Turn off pings

The follwing file can be set to 0 or 1. 0 does not allow pings on any interface and 1 switches it back on. /proc/sys/net/ipv4/icmp_echo_ignore_all

Wheaten Bread

Ingredients: 8 oz Plain Flour 4 oz Wholemeal Flour 1 tsp baking soda 1 tsp salt 1 tsp sugar half pint of buttermilk Mix and roll then coat with flour. [...]

Pancakes

Ingredients: 8oz Plain Flour 2oz Caster Sugar 1 egg 1 tsp baking soda 1 tsp salt 1 dessert spoon of Golden Syrup Half pint buttermilk Mix all ingredients well. Coat [...]

up2date – unknown GPG signature

I had previously installed lftp – can’t remember from where but it was now stopping up2date due to a missing key. The package lftp-3.7.3-1.el4.rf is signed, but with an unknown [...]

Exchange 2007 Logs from Client Access Machines

A short script to make it a little easier to retrieve logs from several client access machines. A little quicker than using the Toolbox Message Tracking Log: $strEvent = “RECEIVE”$dteStart [...]