Ernest G. Wilson II's Debian Hardening Instructions

Prerequisite: Basic Debian Install


Securing Debian
----------------
nano /etc/inetd.conf

# comment below line
#ident stream tcp wait identd /usr/sbin/identd identd

Remove ntpd
-----------
apt-get -y remove ntp

Remove Exim
-----------
apt-get -y remove exim4

Remove Portmap
--------------
apt-get -y remove portmap

Stop Emim4
----------
nano /etc/init.d/exim4

# add exit 0 as the first line after the comments

exit 0

Restrict Root Login
--------------------
nano /etc/ssh/sshd_config

ListenAddress 192.168.15.48
PermitRootLogin no

restart the machine
-------------------
shutdown -r now