Last modified on 22 November 2014, at 20:40

Provisionerificator

#!/bin/bash
apt-get update
apt-get upgrade
apt-get install fail2ban vim-nox molly-guard sl need-restart mtr-tiny sudo openssh-server
adduser $1
usermod -aG sudo $1
vim /etc/locale.gen +127 # need to uncomment en_GB.UTF-8; press x to remove chars
locale-gen
vim /etc/fail2ban/jail.conf +22 # to whitelist sensible IPs
service fail2ban restart