From the course: Complete Guide to Linux Security: Protecting Your Linux Server Environment

Unlock this course with a free trial

Join today to access over 24,300 courses taught by industry experts.

Learning objectives

Learning objectives

- Services are the underlying programs that make applications work. For example, on some systems, without the network manager service, we wouldn't be able to use the Apache Web Server. Services are important for two reasons, one is positive and one is negative. Number one, they make the system available to legitimate users. And number two, they increase the attack surface of the system, and in so doing, make the system available to illegitimate users as well. So we have to split our brain. One side needs to think about availability and the other needs to consider security. This is the constant balance that we must maintain in the tech world. In this lesson, we'll describe what the systemctl command is and why it is important. We'll show how to use systemctl to reduce the attack surface of our computer. We'll perform a lab where we break our system and make it appear to be degraded. And then we'll diagnose and repair the damaged system and verify that it's running properly once again…

Contents