I wanted to add some colour to the output of my bash shell script and was able to do so with the following - very simple red and green: if ; then tput setaf 2 echo "OK There are no problems" tput sgr0 else tput setaf 1 echo "WARNING There... » More
On a misbehaving application we were seeing 200 transactions per second to a MS SQL Server database when normally there would be approximately 10 queries per second. To analyse the type of SQL queries received by the server I used 'SQL Server... » More
The notes here are a quick howto for using LDAP authentication against Active Directory. It is possible to use Samba/Winbind/Kerberos authentication within Radius too and I may post those notes when I get a chance but for now this is how I implemented it... » More
I was looking for an alternative to the Windows software 'Softerra LDAP Browser' and I stumbled upon Apache Directory Studio. Apache Directory Studio is based on Eclipse and allows browsing to LDAP directories, searching and editing. I tested it with... » More
Over the past few days I have had a number of questions asking about the meanings of phrases used in AWStats. So to summarise: BW BW stands for bandwidth - the amount of megabytes/gigabytes used per month - this was important when people paid... » More
Today I had a problem booting my Ubuntu desktop - with booting stuck on the purple screen. An Alt-1 showed me that there were problems with the disk and a manual fsck should be run. So at the Grub screen I pressed 'e' to edit the current entry and on... » More
Just making a copy of a /etc/samba/smb.conf file that works for sharing a single directory within a private network. There is no security / privacy just a public share. workgroup = WORKGROUP server string = %h server (Samba, Ubuntu) dns proxy =... » More
I am not necessarily a fan of this software as I find it a bit less than intuitive to use but I set it up on one of our CentOS servers for someone else and thought I would jot a few notes about the process. Install dependencies: yum... » More
Although it wasn't causing any problems I wanted to stop proftpd logging these lines: Aug 15 09:51:00 servername proftpd: pam_unix(proftpd:session): session opened for user joebloggs by (uid=0) Aug 15 09:51:01 servername proftpd:... » More