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

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 26 articles for you...
160

Master Five Core File And Folder Management Commands In Linux

Linux offers over 1,000 commands for a simple service. This number increases when you move to the desktop. In Pop!_OS, for example, /usr/bin has 1,615 commands, and /usr/sbin has 609. There are more than 2,000 commands available. . You will probably use only 1% of these commands in your lifetime, and this number is even lower for file and folder management. However, you'll eventually need to know more than just the basic commands. Here are the five next Linux file and folder management commands that you should know. . Uncover five crucial Linux commands for managing files and directories that will elevate your terminal proficiency and boost productivity.. Linux Commands, File Management, Command Line Usage, System Utilities. . Anthony Pell

Calendar%202 Mar 26, 2024 User Avatar Anthony Pell How to Harden My Filesystem
162

Efficient Password Management with Linux Pass: A Command Line Guide

Linux servers typically don’t typically install with GUIs, as a command line is faster. But without GUIs, what do you do about passwords? . The solution is pass, a text-based password manager that stores all of your entries in the PGP-encrypted text file, ~/.password-store . This command enables you to add, edit, generate, and retrieve your stored passwords. It even allows you to temporarily add a password to your clipboard and track password changes with git. Sounds pretty handy, right? Let Jack Wallen walk you through the process of installing and using pass. Once you get accustomed to pass, you'll find it to be an excellent option for machines that don't include a GUI but still need a password manager. . Discover how to effectively manage passwords on Linux using Pass, a command-line tool that streams lines of security.. linux, servers typically, don’t, typically, install, command, line is, faster. . Brittany Day

Calendar%202 Mar 04, 2024 User Avatar Brittany Day How to Strengthen My Privacy
160

Mastering File Permissions: A Command Line Guide for Linux Users

Linux file permissions enable you to allow or prevent other users from viewing your files, making them crucial to robust security and privacy. But how can you change file and folder permissions on Linux from the Command Line to improve the security of your filesystem? . I found the tutorial linked below very helpful in demonstrating how this can be done, and I thought you would also! Have questions? Please reach out to me on X @lnxsec - I'm here to help! . This guide assists you in efficiently modifying file and folder access rights in Linux through straightforward terminal commands.. Linux File Permissions, Access Control, Command Line Guide. . Brittany Day

Calendar%202 Dec 20, 2023 User Avatar Brittany Day How to Harden My Filesystem
160

Exploring File Download Techniques In Linux: Wget, Curl, And SCP

Welcome to the world of Linux, where downloading files is a vital part of everyday tasks. Whether you’re a Linux enthusiast or a casual user, knowing how to download files efficiently is essential for your productivity. In this article, we will explore various methods and commands that you can use to download files in Linux. . Linux is renowned for its command-line interface (CLI), which provides a powerful and flexible environment for users to interact with their machines. While there are graphical user interface (GUI) options available, this article will primarily focus on command-line tools that allow you to download files seamlessly and efficiently. Throughout this article, we will cover commands such as wget, curl, and SCP, as well as protocols like FTP and SSH. Each of these methods serves a different purpose and offers unique features, enabling you to download files from various sources with ease. By the end of this article, you will have a comprehensive understanding of different download techniques in Linux and be able to choose the most suitable method for your needs. So, let’s dive in and explore the exciting world of file downloading in Linux! . Elevate your Linux experience by mastering file downloads using command-line utilities such as wget and curl to enhance productivity efficiently.. Linux File Download, Command Line Tools, File Transfer Methods. . Brittany Day

Calendar%202 Oct 15, 2023 User Avatar Brittany Day How to Harden My Filesystem
160

Encrypt Files on Linux: Command Line and File Manager Methods

Looking for the easiest method for protecting a file behind a layer of encryption in Linux? Here are two easy ways. . Your security and privacy have both become critically important. Businesses are not the only entities that have to keep sensitive information from prying eyes. You might have bank account details, contracts, wills, and other files on your desktop that should be locked behind a password, so only you can access them. But how do you do this, if Linux is your operating system of choice? Believe it or not, it's actually pretty simple. I want to show you two different methods -- one using the command line and one that makes use of the built-in file manager -- so you too can protect those important documents. You can do this with just about any type of file (text, .docx, .odt, PDF, .jpg, or you name it). One word of warning: Both methods do require using the command line. However, the GUI method only requires that you use the command line to install the required integration for the file manager. With that said, let's get to the processes. . Safeguard your confidential documents in Linux through straightforward encryption techniques utilizing terminal commands or seamless integration with file management tools.. Linux File Encryption, Secure Files, Data Protection, Encryption Methods. . Brittany Day

Calendar%202 Apr 12, 2023 User Avatar Brittany Day How to Harden My Filesystem
166

Resolving Group Access List Issues in Linux: A Troubleshooting Guide

Linux distros are increasingly becoming more and more GUI-based and easier for beginners to use. That said, their real power still lies in the terminal which requires the user to know different commands and syntaxes to be able to use them properly. . The same applies to troubleshooting any errors you might encounter as Linux isn’t exactly the most helpful OS when it comes to error messages. In this article, we’re talking about the “Error initialising the supplementary group access list” issue on Linux, its causes and what you can do to fix the problem. The error is mainly caused after the user makes a change in the user or user group access permissions. Outside of making the change itself, there are additional steps that you need to follow to ensure the OS recognise those changes. . Encountering an error with supplementary group access in Linux requires a systematic approach. Check group membership, inspect the /etc/group file, and review PAM configurations.. Linux GUI, Group Access Issues, Command Line Fixes. . Brittany Day

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

Encrypt And Decrypt Files With GnuPG In Linux Command Line

Today, we are going to see how to encrypt and decrypt files from command line in Linux using a free utility named GNU Privacy Guard (shortly GPG or GnuPG). . There are, of course, plethora of methods, and applications are available to encrypt and decrypt files in Linux. But, encrypting and decrypting files with GnuPG is the easiest method. GnuPG is an Open Source OpenPGP compatible encryption system. It is a commandline, sophisticated public key cryptosystem that provides digital encryption and signing services using the OpenPGP standard. Using GnuPG, we can easily encrypt the important and confidential files and documents. It is packaged for several operating systems and also available as pre-compiled binaries. GnuPG is available as two versions. They are GnuPG 1.x and GnuPG 2.x . GnuPG 2.x uses the modern algorithms and is recommended by security experts. You should use GnuPG 1.x only if your distribution does not support GnuPG 2.x. . Discover the straightforward process of securing and revealing files in Linux using OpenSSL via terminal commands to enhance data protection.. file encryption,GnuPG,secure file management,data encryption,Linux command line. . Brittany Day

Calendar%202 Feb 11, 2023 User Avatar Brittany Day How to Strengthen My Privacy
162

Checking Password Strength In Linux With Command Line Techniques

We already posted a brief guide about - how to generate a strong password in Linux a while ago. Now, we are going to find out if the generated password is really strong or not. In this short tutorial, we will see how to check the password complexity in Linux from commandline. . Before going further, here are some useful tips to all those who wants to keep their system safe. Never ever use the same password for different Email accounts, ssh/ftp/sftp logins. If a hacker managed to crack your password, s/he literally have access to all accounts. So, generate and use different unique password for each account. A good password should be the combination of letters, numbers, special characters. Make sure your password has at least 12 or more characters. Check our guide how to force users to use strong password . Don't save your passwords online. Use good password manager or memorize them. Consider two factor authentication if possible. More importantly, don't use valid answers for security questions, eventually with enough data breaches, hackers will have all the answers . The common security questions are father's maiden name, school name, favorite pet's name, last name of first girlfriend/boyfriend, etc. Since much of the time these are stored in plain text on websites someone can gain access to many of your accounts by knowing these answers. Instead, put in mixed letters/numbers as answers and use a secure password manager to keep track of your answers. I came across this tip on Reddit . So I thought sharing it here would be helpful to someone. . In Linux, evaluate password strength with `pam_pwquality` for complexity, use `pwgen` to create secure passwords, and adopt 2FA and updates for enhanced security. Password Complexity, Linux Security, Account Safety, Password Management, Strong Passwords. . Brittany Day

Calendar%202 Feb 11, 2023 User Avatar Brittany Day How to Strengthen My Privacy
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