Linux User Management

Disable user login shell usermod -s /bin/false username Enable User login shell usermod -s /bin/bash username Edit home directory vi /etc/passwd Check the status more /etc/passwd

Chef

knife ec2 server create -G default -f t1.micro -S nagios-quick-start -x ubuntu –region eu-west-1 -I ami-ce7b6fba

Ubuntu Firewall

sudo ufw allow proto tcp from 192.168.0.2 to any port 22 sudo ufw delete deny 22 sudo ufw allow 22 sudo ufw enable Ref: https://help.ubuntu.com/lts/serverguide/firewall.html