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 491
Alerts This Week
Warning Icon 1 491

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 13 articles for you...
166

Mastering Sudo: Installation and Permission Configuration for Linux

The tutorial linked below will walk you through the basic commands of sudo. The sudo command allows a user to run a command either as the superuser or as another user. This is determined by the security policies in the sudoers files. . We will explore the basic installation and usage of sudo and the configuration of detailed permissions via the sudoers files. This ensures both flexibility and security for administrative operations. You will learn how to set up access for users and groups. You will also customize the command execution environment and implement security measures that log or restrict usage. Understanding these configurations will allow you to manage your system's privileges effectively, protecting it from unauthorized changes and facilitating administrative tasks. . The Sudo Command is essential for Linux system management, allowing command execution with elevated privileges. Explore its installation, usage, and secure permission configuration. Sudo Command Examples, User Permissions Linux, Sudo Configuration Guide, Linux Admin Tools. . Brittany Day

Calendar%202 May 21, 2024 User Avatar Brittany Day How to Learn Tips and Tricks
166

Essential Strategies for Securing SSH Connections on Linux Systems

SSH is a globally-used protocol used to access remote servers. Here's how you can strengthen your SSH connections on Linux for maximum security. . SSH is widely used for accessing Linux servers securely. Most users use SSH connections with default settings to connect to a remote server. However, the unsecured default configurations also pose various security risks. The root account of a server with open SSH access may be at risk. And especially if you are using a public IP address, it is much easier to hack the root password. Therefore, it's necessary to know about SSH security. Here's how you can secure your SSH server connections on Linux. . Fortify your SSH links on Linux to enhance protection. Discover optimal methods to secure remote access seamlessly.. Secure SSH Connections, Linux SSH Security, SSH Server Best Practices. . Brittany Day

Calendar%202 May 06, 2023 User Avatar Brittany Day How to Learn Tips and Tricks
166

How To Check Shutdown And Restart History On Linux Systems

Getting information about the last shutdowns and reboot history is rather easy on Linux. . As a system administrator, it's your responsibility to keep the system up and running to avoid any service disruptions. However, sometimes, there are situations when your system shuts down or reboots. This can be due to the system unexpectedly losing power or some user intentionally rebooting it. Whatever the reason is, you can check your Linux system's shutdown and restart history to see when this activity exactly happened. This information will provide you with a starting point to begin the troubleshooting. . Discover how to effortlessly retrieve shutdown and restart logs on your Linux machine for improved diagnostics.. Shutdown Management, System Log, Linux Admin Guide. . Brittany Day

Calendar%202 Oct 10, 2022 User Avatar Brittany Day How to Learn Tips and Tricks
166

Efficiently Schedule Upgrades On Linux Servers With Webmin

See how easily you can schedule upgrades for your Linux servers with Webmin. . I’ve been a fan of Webmin for years. Although there are newer, easier web-based administration tools available, Webmin happens to be one of the more mature and robust on the market. With a modular system that makes it easy to install new capabilities, there’s very little Webmin can do. And given much of its capability is already baked in, you can quickly install the software and get to work. One very important task you can undertake with Webmin is upgrading the software installed on the server. Even better, you can schedule those upgrades for such a time when users won’t be logged in and crucial services are needed. That’s exactly what I’m going to show you how to do. . Conveniently discover how to plan updates for your Linux systems using Webmin to guarantee that interruptions are kept to a minimum.. Linux Upgrades, Webmin Scheduling, Server Automation. . Brittany Day

Calendar%202 Oct 05, 2022 User Avatar Brittany Day How to Learn Tips and Tricks
166

Analyzing Sudo Command Usage for Enhanced Security in Linux

The sudo command gives a user superuser or root powers. No doubt you gave them the “with great power comes great responsibility” speech. Here’s how to check if they listened or not. . The sudo command stands for “substitute user do.” It lets an authorized person execute a command as though they were another user. It can take command line parameters, one of which is the name of the user you wish to have the command executed as. The most common way sudo is used is to omit the command line options and use the default action. This effectively executes the command as the root user. To use sudo in this way requires special permission. Only the privileged can use sudo . When you install a modern Linux distribution, you’re prompted to set up a root password that you can use with sudo . Permission to do so is granted to the regular user that you create during installation. This is the preferred way to handle access to the capabilities of the root user. The old way was to create a root user and log in as them in order to administer your system. The link for this article located at How-To Geek is no longer available. . The su command empowers permitted users to run operations as a different user, bolstering system safety and administration.. Sudo Command, Enhanced Security, User Permissions, Command Management, Linux Best Practices. . Brittany Day

Calendar%202 Sep 30, 2022 User Avatar Brittany Day How to Learn Tips and Tricks
166

Five Essential Tips for Enhancing SSH Security on Linux Servers

Here are five tips for securing Linux that you can take care of in 5 minutes or less. . SSH is a tool I use every single day to log into remote Linux servers and take care of my admin tasks. Without SSH, my days would be more complicated and less secure. That doesn’t mean, however, that SSH is configured to your liking right out of the box. There are a few weaknesses in the default configuration and the way you’re probably using the tool. Let’s fix that. Here are my five most straightforward tips for securing SSH on your Linux machines. These tips shouldn’t take you more than five minutes to handle and, in the end, you’ll be glad you took the time to do so. . Uncover five crucial strategies to bolster SSH protection on your Linux servers efficiently and ensure secure access.. SSH Security Tips, Linux Access Control, Remote Server Management. . Brittany Day

Calendar%202 Jul 19, 2022 User Avatar Brittany Day How to Learn Tips and Tricks
166

Mastering Sudo For Effective User Access Control in Linux

Sudo has made Linux not only more secure but also more user-friendly. If you're new to Linux, this article will explain what sudo is and how it's used. . When I first started using Linux, things were exponentially more complicated. The distributions were far less mature, but they also required the use of a particular system account to get certain things done. That account was root, and with it, you had unlimited power over your operating system. To demonstrate the power of root, one trick you could always play on unsuspecting users was to tell them to change to the root user with the command su and then have them issue the following command: rm -rf / The rm command is used to delete files and folders. In conjunction with r (recursive) and f (force), you would delete everything from the root folder (/), thus rendering your system unusable. . Grasping the concept of root access improves both safety and efficiency, a crucial skill for newcomers in Unix-like systems to handle user rights proficiently.. Sudo Usage, User Permissions Control, Secure Shell Access, Linux Command Management. . Brittany Day

Calendar%202 May 25, 2022 User Avatar Brittany Day How to Learn Tips and Tricks
166

Getting Started With System Logging in Linux Environment

System logging is the most reliable way of knowing which activities were carried out on your Linux system. This guide explains how to get started with Linux system logging. . System logs in Linux provide you with great insight into core activities on your PC or server infrastructure. They're critical for keeping your system stable and secure. System logs also provide you with an opportunity to audit various activities that have taken place in the past. This guide introduces you to the logging system in Linux. All the major activities carried out by core system applications and services are recorded in the form of logs and at the heart of all this is a system known as Syslog. . Enhance your understanding of fundamental functions with Linux logging for resilience and protection.. Linux Logging,System Administration,Log Management. . Brittany Day

Calendar%202 Apr 12, 2021 User Avatar Brittany Day How to Learn Tips and Tricks
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