Tag Archive: linux

Jun
07

Linux And Open Source Is Inherently Insecure

The title of this blog post will be a scandal in many people’s eyes; however, I will justify what I mean later in this post. In the technical circles there are many that continually bash the big commercial software companies, Microsoft, Apple, Adobe and so on for producing software that contains bugs and security flaws …

Continue reading »

Jan
14

How To Change The Timezone In Linux

Firstly you should log in as root, and run `date`. This will show you the current time, date and timezone and then backup your current timezone setting mv /etc/localtime /etc/localtime-old Create a symbolic link the timezone you want from /usr/share/zoneinfo to /etc/localtime. For example: ln -sf /usr/share/zoneinfo/Europe/London /etc/localtime

Jan
13

Disabling Root Ssh Access In Debian

Following the disaster that I has with the web/mail servers I have taken an additional step to secure the servers as I am still not clear what the causes of the failure were. I have disabled direct root ssh login (which in debian is allowed by default) so you have to login as a non-privileged …

Continue reading »

Jan
10

Computer Failure Part 3

Having managed to rescue the partition tables of my machine using ‘The Ultimate bot disk’ I could then boot the machine up into windows, however it was so slow all I could do was login, I could not browse drives or copy anything off. I took the disk out and used a USB to IDE …

Continue reading »

Jan
06

Still Sorting Out After Server Failure

I have at last got my mail serve back on line and checking SPAM although I am not too happy with how much SPAM is still getting through. I will tighten up the rules. I deliver SPAM to a Spam folder in each users mail boxes, I used to have a script that deleted emails …

Continue reading »

Jan
02

Server Failure

If you have been trying to get to this blog over the last week or so you will have found that it has been down, along with all my other sites. This was due to a hardware failure on my web server, which coming as it did over the Christmas period has been somewhat frustrating. …

Continue reading »

Oct
30

Getting Spamassasin To Learn From Emails In Mailbox Folder

I use this command to learn from spam in a folder on a virtual mail box. sa-learn –spam /var/spool/postfix/virtual/DomainName.com/emailaddress/.Possible_Spam/cur/* –showdots This then runs on a Cron Tab each day. Care must be taken that no non-spam messages are added to this folder, so only use this with users you trust. I am working on a …

Continue reading »

Oct
27

Backing Up Mysql Databases On A Cron

With all the websites that I run, keeping backups is essentail. I first wrote a bash script that I ran on a cron job whcih backed up each database and then zipped the sql file up: #!/bin/sh mysqldump -uroot -ppwd –opt db1 > /sqldata/db1.sql mysqldump -uroot -ppwd –opt db2 > /sqldata/db2.sql cd /sqldata/ tar -zcvf …

Continue reading »

» Newer posts