Securing Linux


As a rule of thumb for hardening your #Linux server. You should always disable the services, those are not in use.

Most systems come with a large number of services that start at boot. Obviously, some of these are actually important to the functioning of your system, and others are designed to start applications such as Postfix or Apache that run on your system.

But many of the others are not necessary or start services that potentially pose security risks to your system.

So, if you are not doing any printing, then do not start the #lpd and #cups daemons. Likewise if you are not running NFS please stop all nfs related services.

Below is a list of services, I think should be disabled to enhance the security unless you have a good reason to start them.

Services to disable in Linux

Services to disable in Linux