Wednesday, 19 December 2018

To Sophos or Not...

I purchased a second hand Sophos XG device on ebay... what a mistake...

You cannot transfer a license without the original owner doing it for you on the Sophos website, nevermind if the original owner is no longer alive, in business, or donated/sold the equipment to the seller your buying from.

This is apparently Sophos wanting you to use their "trusted" resellers and partners just to make sure they can make money off the same device again. Ironically I cannot help but wonder how "trusted" their hardware from a Chinese factory is with the latest supermicro chip saga.

Usually when a company has a slogan we say the opposite is true and in this case it's no lie "security made easy". Silly rules and the rigid companies making them up have no place in today's economy.

Hello Etienne,

Thank you for your email.

The item was registered under a different user (probably the previous registrant) thus, you are unable to access it.

We highly recommend purchasing via our trusted resellers and partners. In addition, you can get in touch with the previous owner or their account representative to request transferring the owner of the license.

Let me know how it went. 


Prince Keemer Aroma 
Sophos Customer Care 

Support Knowledge Base:
Follow us on Twitter @SophosSupport
Sophos Community (discussion forums):

SOPHOS - Security made simple

Saturday, 15 September 2018

Linux Motion Disk Space Script

I needed a quick and dirty script to check the disk space on a Raspberry Pi running motion for cctv images from a webcam. 


*/1 * * * * /root/diskspace > /dev/null 2>&1

Disk space script - removes the 100 oldest files per run until disk usage is under 80%:

# Check disk space for motion

used_perc=`df -h / | grep root | awk '{ print $5 }' | sed 's/%//g'`

echo "Used disk percentage: $used_perc"

if [ $used_perc -gt 80 ]; then
 echo "Removing older 100 motion files..."
 for a in `find /var/lib/motion/ -type f -printf '%T+ %p\n' | sort | head -n 10 | awk '{ print $2 }'`; do
  echo "Removing file $a"
  rm -f $a
 echo "No need to remove older files..."