How to secure your linux? (easily) Now days computer security is on the top trending topics for several reasons, the pandemic confiment also boosted the search for this topic. So you have a linux, is it secure? Most likely yes, is it vulnerable, even if daily updated (also see how to speed up apt-update ) due to default values of some configurations. An easy way to enhance Linux security or hardening Linux? Using lynis (also works on OSX) What's hardening? Basically is just tunning and configuring some features that by default might allow someone to exploit or use that as a vulnerability. (not just one feature per se, but some combined might create something exploitable) How to install lynis on Linux? There are two instalation methods, easy and easiest. The main difference is the version you download from the Lynis site is always the latest one where the apt-get version might take sometime to get to the lastest. An example is allowing access to compilers, an intruder...
Practical Linux, homelab and computer security notes: home servers, Docker, UFW, Fail2ban, Lynis, honeypots, old hardware and sysadmin experiments.