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

Some vi Tips

A few tricks using vi for increased? productivity:Global Search and Replace :% s#changefrom#changeto#g Delete from the cursor to the end of the line: D Replace from here to the end [...]

Exporting Active Directory Data

I had a need to export particular data of users from a specific group in Active Directory. Windows has two tools for this: cvsde and ldifde – the de stands [...]

Send Faxes From Linux

PamFax offer a service for sending documents and scans to fax numbers worldwide. Paymeny by PayPal which is handy. Linux installers in Deb, Rpm and tarball.

Red Hat CentOS Yum Repositories

This is my summary of Yum repositories for future reference. Yum (and apt on Debian systems) is an easy way to install software on Red Hat/CentOS systems and to keep [...]

Enhancing ClamAV with Extra Signatures

We use ClamAV mainly for scanning incoming email for malware and phishing scams. ClamAV comes with a default database usually stored in /var/clamav or /var/lib/clamav . To get up-to-date malware [...]

Exporting Global Address List

I was thinking of trying to export/convert the Exchange Global Address List GAL so that I could then import this into other email client address books such as Evolution or [...]

Refreshing ARP table entries

Taking an IP address down on one host: /sbin/ifconfig eth0:1 down Taking the IP address up on another host: /sbin/ifconfig eth0:1 111.222.111.222 netmask 255.255.225.0 up Use arping to update the [...]

Tunnel Web Browsing to Remote Server over SSH

So I want to be able to test web access from outside our network. On my private server I have Squid running on port 3128 so: ssh -L 3128:localhost:3128 jonny@myprivateserver.com [...]

Blocking Attackers in ProFTPd

To manually block an IP address accessing ProFTPd you can use the following in the ProFTPd config file:<Limit LOGIN>Order deny,allowDeny from 111.222.111.222Allow from all</Limit></Global>Of course it would be better to [...]

Convert bin/cue to iso with bchunk

On Ubuntu install binchunker with: sudo apt-get install bchunk Then create the iso at the command-line with the following: bchunk myfile.bin myfile.cue newfile.iso More info here