trimstray/the-practical-linux-hardening-guide

Content for Disable all unnecessary services Section

rmishra-ror opened this issue · 3 comments

Disable all unnecessary services

The action in this section provide guidance on some of unwanted applications and services which you might not needed but they are installed by default during OS installation and unknowingly start eating your system resources and also threats to the system security. If unused services is not enabled then it can not be exploited.

✴️ Common Unix Print System

The Common Unix Print System (CUPS) provides the ability to print to both local and
network printers.If the system does not need to accept print jobs from other systems, it's recommended that CUPS be disabled to reduce the potential attack.

Run the following command to verify cups is not enabled:

# systemctl is-enabled cups
disabled

Run the following command to disable cups :

# systemctl disable cups

References: http://www.cups.org

@trimstray Can I submit PRs for Disable all unnecessary services section

Dear @rmishra-ror!

Please add pull-request with this, ok? Nice work 👍

I am waiting for more! 🥇