A Linux and Cybersecurity expert in Australia. RHCE, Linux+, Sec+, CySA+, CASP+, CISM

Contact our friendly team to get started.

All HowTo's Ansible Ansible & Terraform Automation Cyber-Security Linux Scripting in Bash Ubuntu, Mint & Debian Linux

Use Ansible to Add Users and their SSH public Keys on Multiple Linux Servers

This article demonstrates how to create an Ansible PlayBook that will add users to multiple Linux systems and add their public SSH key allowing them to login securely. Install Ansible on the host that you’ll use to target each of the Linux host you want the new users on. sudo

Read more
All HowTo's Cyber-Security MySQL & MariaDB Scripting in Bash

Dump and Backup all MySQL Databases into their own files

This article demonstrates how to backup all MySQL databases into their own files and then tar the lot including system files. #!/bin/bash TO=”/root” FROM=”/etc /var/www/html /var/backups” DBUSER=”root” DBPASS=’MyPassword’ THISHOST=`hostname` DBLIST=`echo “show databases;” | mysql –password=$DBPASS -u $DBUSER | egrep -v ‘^Database$|^information_schema$|^mysql$’` for DBLOOP in `echo $DBLIST` do mysqldump -u $DBUSER

Read more
All HowTo's Apple MacOS Linux Ubuntu, Mint & Debian Linux

Resize multiple images/photos in seconds (OSX & Linux)

This article explains how to resize images on Linux and OSX. The link below is a great article for resizing many images/photos in one go. I’d argue it’s simpler on a Linux system but i digress. http://osxmactips.blogspot.com.au/2009/04/resize-multiple-pictures-at-once.html On a Linux system you can use the “convert” command which is part

Read more