Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 515
Alerts This Week
Warning Icon 1 515

Stay Ahead With Linux Security HOWTOs

Filter%20icon Refine HOWTOs
X Clear Filters
X Clear Filters
View More

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Community Poll

Should Linux servers automatically install security updates?

No answer selected. Please try again.
Please select either existing option or enter your own, however not both.
Please select minimum {0} answer(s).
Please select maximum {0} answer(s).
/main-polls/157-should-linux-servers-automatically-install-security-updates?task=poll.vote&format=json
157
radio
0
[{"id":506,"title":"Yes \u2014 critical security patches should install automatically.","votes":0,"type":"x","order":1,"pct":0,"resources":[]},{"id":507,"title":"No \u2014 every update should be tested before deployment.","votes":0,"type":"x","order":2,"pct":0,"resources":[]},{"id":508,"title":"Only critical vulnerabilities should auto-install.","votes":0,"type":"x","order":3,"pct":0,"resources":[]},{"id":509,"title":"I patch when Reddit starts panicking.","votes":1,"type":"x","order":4,"pct":100,"resources":[]}] ["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"] ["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"] 350
bottom 200
Loading...

Explore Latest Linux Security HOWTOs

We found 0 articles for you...
166

How To Block IP Addresses In Linux With Hosts.allow And Hosts.deny

In this How to Make Tech Work tutorial, Jack Wallen shows how to add another layer of security to your Linux machines with just two files. . Did you know there’s a very easy way to block or allow IP addresses in Linux using two simple files? Those files are hosts.allow and hosts.deny, and they make it such that you can block or allow IP addresses on the fly without having to deal with more complicated firewall rules. With this ability, you could quickly block a suspicious IP address to avoid possible malicious activity; or, you could limit, say, SSH connections to only specific addresses so you don’t have to worry about third parties gaining access to your servers or desktops. Let me show you how it’s done by demonstrating SSH access to a machine. The only things you’ll need for this are a running instance of Linux and a user with sudo privileges. Log in to your Linux machine and open a terminal window. The first thing we’re going to do is deny all access to the SSH daemon. Open hosts.deny with the command sudo nano /etc/hosts.deny. At the bottom of that file, add sshd: ALL. Save and close the file. . Effortlessly manage access control for IP addresses on Unix-based systems via hosts.allow and hosts.deny, boosting your security protocols.. IP Blocking, Linux Security, SSH Management, Firewall Rules. . Brittany Day

Calendar%202 Aug 11, 2023 User Avatar Brittany Day How to Learn Tips and Tricks
161

Guide to Configuring Firewalld Rules for Linux Security

Learn how to add, remove, enable, and disable firewalld rules & zones in this guide. The firewall is essential for controlling the flow of network traffic in and out of the Linux server. It enables users to control incoming network traffic on host machines by defining a set of firewall rules. It must be enabled on production servers facing the Internet, to protect those servers from unauthorized access. This is one of those security features that ensures your system security at network level. . . Discover the steps for managing firewall rules and zones effectively in this tutorial. Firewalls are essential for robust security.. firewalld Configuration, Network Traffic Control, Linux Server Security. . Brittany Day

Calendar%202 May 11, 2021 User Avatar Brittany Day How to Secure My Firewall
166

10 Essential Steps To Secure Your Linux Server and Best Practices

Linux servers are already extremely secure by default that’s why 100% of supercomputers, most of the top 1 million servers , and top 25% of websites on the internet run on Linux. Besides having security tools in place, users should follow a few steps to further secure Linux servers. Learn about 10 steps you should take to secure your servers in this tutorial. . As we all know nothing is perfect. Things can go wrong if proper precautions are not taken. Once in a while, Linux tools encounter serious vulnerabilities and due to the nature of these tools (open-source), all tools quickly receive security fixes. When it comes to compromising a Linux server, most of the time users’ actions are responsible for it. After the compromise, we get to know the compromise could easily be prevented by implementing a simple firewall rule. The link for this article located at Linux and Ubuntu is no longer available. . Discover key measures for boosting the protection of your Unix-based server by utilizing effective strategies and recommended guidelines.. Linux Security Tips, Server Hardening, Best Practices for Open Source Security. . Brittany Day

Calendar%202 Mar 19, 2021 User Avatar Brittany Day How to Learn Tips and Tricks
167

How To Restrict Network Access Using Firewalld On CentOS And RHEL

As a Linux user, you can opt either to allow or restrict network access to some services or IP addresses using the firewalld firewall which is native to CentOS/RHEL 8 and most RHEL based distributions such as Fedora. Learn how to do this in a helpful tutorial. . The firewalld firewall uses the firewall-cmd command-line utility to configure firewall rules. . Learn how to effectively manage network permissions using firewalld on CentOS and RHEL with these systematic steps for service and IP restrictions. firewalld, network access control, CentOS firewall, Linux firewall management, firewall-cmd. . Brittany Day

Calendar%202 Jul 24, 2020 User Avatar Brittany Day How to Secure My Network
160

Best Practices for Securing Linux Open Ports and Enhancing Safety

A curious user asks: Q. I. The link for this article located at NixCraft is no longer available. . Safeguarding your Linux systems involves effectively managing open ports. Employ audits, firewalls, service configurations, and more to enhance network security. Linux Administration, Secure Ports, Network Security, Firewall Rules. . LinuxSecurity Contributors

Calendar%202 Nov 07, 2007 User Avatar LinuxSecurity Contributors How to Harden My Filesystem
News Add Esm H240

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Community Poll

Should Linux servers automatically install security updates?

No answer selected. Please try again.
Please select either existing option or enter your own, however not both.
Please select minimum {0} answer(s).
Please select maximum {0} answer(s).
/main-polls/157-should-linux-servers-automatically-install-security-updates?task=poll.vote&format=json
157
radio
0
[{"id":506,"title":"Yes \u2014 critical security patches should install automatically.","votes":0,"type":"x","order":1,"pct":0,"resources":[]},{"id":507,"title":"No \u2014 every update should be tested before deployment.","votes":0,"type":"x","order":2,"pct":0,"resources":[]},{"id":508,"title":"Only critical vulnerabilities should auto-install.","votes":0,"type":"x","order":3,"pct":0,"resources":[]},{"id":509,"title":"I patch when Reddit starts panicking.","votes":1,"type":"x","order":4,"pct":100,"resources":[]}] ["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"] ["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"] 350
bottom 200