From the course: Strategic Linux for Network Professionals: Security, Monitoring, and Automation
Unlock this course with a free trial
Join today to access over 25,200 courses taught by industry experts.
Introduction to Linux network security best practices - Linux Tutorial
From the course: Strategic Linux for Network Professionals: Security, Monitoring, and Automation
Introduction to Linux network security best practices
- [Instructor] Linux systems are commonly used in network infrastructure, and keeping them secure is essential. In this lecture, we'll cover important security practices, specifically for Linux-based systems. Let's bring up our Linux machine so we can go through some security best practices. Let's make sure we are logged in as root because some of the commands that we will run need root level access. Okay, we have confirmed. Let's clear the screen. So as part of the best practice, the first thing you should do is to keep your system up-to-date. Regularly update your system to patch vulnerabilities. For that, you should run the command at DNF space update, space minus y. All right, we checked it and looks like there's nothing to do, meaning our system is completely up-to-date. Okay, next thing you should do is, disable any unused services, disable services that are not needed. So for example, if we have HTTPD running at one point, but now we don't use Apache anymore, so we need to make…