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.

Creating a degraded system

Creating a degraded system

- Over the next two sub-lessons, we're going to cover a lab. This is Lab 15, Creating and Repairing a Degraded System. And if you look in the repository, you'll find Lab 15. Feel free to follow along with the lab document as we go through this. We're going to cause a service to fail and then troubleshoot it and fix it. So we're going to break and fix our system. So let's jump over to our Debian client now. The first thing I want to do is run a systemctl status. Now, by the way, this lab will work on just about any Linux distribution that is systemd-based. So systemctl status, when we do so, we see our name of our computer, deb-client, and the state is running, and it's in green. Green is good. That means that no services have failed. No cgroups are giving us any issues. But I'm more concerned with services here. And you can scroll down and take a look at all this. There's a lot of information, but what we want to see is that it is running. The other option is degraded, in red, which…

Contents