# Base install

sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers

#disable iptables
chkconfig iptables off
service iptables stop

#Don't do reverse DNS lookups of SSH clients that connect; this usually speeds up SSH by quite a bit:
echo "UseDNS no" >> /etc/ssh/sshd_config
# Base install

sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers

#Stop and disable iptables
systemctl stop iptables
systemctl disable iptables

#Stop and disable firewalld
systemctl stop firewalld
systemctl disable firewalld


#Don't do reverse DNS lookups of SSH clients that connect; this usually speeds up SSH by quite a bit:
echo "UseDNS no" >> /etc/ssh/sshd_config
Use systemctl commands instead of service and chkconfig to disable the firewall daemons.
Use systemctl commands instead of service and chkconfig to disable the firewall daemons.
