Tagged articles
SELinux
60 articles · Page 1 of 1
This comprehensive guide covers enterprise Linux server hardening across account lifecycle management, SSH and port exposure reduction, sudo/firewall/SELinux access controls, with executable commands, verification scripts, rollback procedures, and real incident case studies for sustainable security posture.
Linux hardeningSELinuxSSH security
0 likes · 93 min read

This guide details a production-ready Linux server initialization workflow covering pre-checks, network setup, time sync, security hardening (SSH, firewall, SELinux), monitoring with Prometheus Node Exporter, log collection via Filebeat, validation steps, and rollback procedures for CentOS 7/RHEL 7 and Ubuntu 20.04.
CentOS 7LoggingPrometheus
0 likes · 30 min read

This comprehensive guide demonstrates how to implement least-privilege access in Linux using sudo, user groups, and ACLs, with practical examples covering identity verification, permission layers, service sandboxing, testing strategies, and account offboarding.
ACLAppArmorLeast Privilege
0 likes · 44 min read


UbuntuSep 20, 2026 · Operations
Analysis of China's domestic Linux distributions (openEuler, UOS, Kylin) reaching market leadership with 20M openEuler installations, kernel parity with Ubuntu LTS (Linux 7.0), and detailed migration cost breakdown for Ubuntu users covering package management (dnf vs apt), SELinux, compliance, and practical trial steps.
A-TuneKunpengLinux kernel
0 likes · 13 min read

This guide walks operations engineers through the background, requirements, typical audit findings, step‑by‑step remediation commands, and verification methods for the most frequent security configuration problems encountered when implementing GB/T 22239‑2019 Level‑2/3 compliance on CentOS 7/8 and Ubuntu 20.04, covering identity authentication, access control, auditing, intrusion prevention, resource limits, and data confidentiality.
GB/T 22239Linux-securityResource Limits
0 likes · 23 min read

This guide walks you through a step‑by‑step hardening of SSH on RHEL/Ubuntu servers, covering password‑authentication disabling, port migration, IP‑based access control, SELinux labeling, firewalld rule updates, backup procedures, verification from alternate terminals, rollback planning, and ongoing audit practices.
HardeningLinuxRHEL
0 likes · 28 min read

This guide walks you through a systematic, seven‑layer approach to diagnosing port connectivity failures on Linux systems, covering service listening checks, local firewall rules, SELinux policies, network path analysis, cloud security groups, and application‑level protocols, with concrete commands, scripts, case studies, best‑practice recommendations, and monitoring tips.
LinuxSELinuxfirewall
0 likes · 40 min read

Azure Linux 4.0, now in public preview with a downloadable ISO, builds on Fedora and adds deep Azure‑specific optimizations, SELinux defaults, and Hyper‑V tuning, prompting a debate on whether it can eventually replace Windows Server while still being positioned mainly for evaluation and testing.
Azure LinuxFedoraHyper-V
0 likes · 8 min read

This comprehensive guide walks you through the evolution of Linux permission models, demonstrates why careless use of 777 can lead to costly breaches, and provides step‑by‑step instructions for using chmod, ACLs, SELinux, AppArmor, and container security to enforce least‑privilege access.
ACLLinuxSELinux
0 likes · 37 min read

This article walks operations engineers through the most frequent security‑configuration problems encountered during Grade‑Protection (等保) remediation, detailing the regulatory background, specific compliance gaps, step‑by‑step remediation commands for Linux systems, verification methods, FAQs, and a practical implementation workflow.
Grade ProtectionLinux hardeningSELinux
0 likes · 28 min read

Kubernetes v1.36 focuses on clearing technical debt rather than adding flashy features, retiring ingress‑nginx, tightening kubelet API auth, optimizing SELinux mounts, externalizing ServiceAccount token signing, expanding DRA for GPU scheduling, graduating MutatingAdmissionPolicy, and removing long‑standing legacy components, all accompanied by a concrete upgrade checklist.
DRAIngress NGINXKubernetes
0 likes · 15 min read

This guide walks you through the root causes of "port unreachable" problems, explains TCP and UDP handshakes, and provides a seven‑layer troubleshooting framework with concrete commands, scripts, case studies, best‑practice recommendations, and monitoring setups for Linux environments.
SELinuxTCPUDP
0 likes · 37 min read

This comprehensive guide walks you through Linux's multi‑layered permission system—covering basic UGO rwx bits, numeric and symbolic modes, special bits, ACLs, SELinux/AppArmor, capabilities, chattr attributes, and container‑level controls such as SecurityContext and Pod Security Standards—so you can design a robust, least‑privilege security model for servers and cloud workloads.
ACLDockerSELinux
0 likes · 34 min read

This comprehensive guide walks you through the evolution, fundamentals, and advanced techniques of Linux permission management, covering UGO models, special bits, ACLs, SELinux/AppArmor, best‑practice design principles, troubleshooting steps, audit configurations, and real‑world case studies for securing web, database, and SSH services.
ACLBest PracticesLinux
0 likes · 39 min read

This guide walks you through practical Linux hardening techniques, covering firewalld's zone‑based and rich‑rule configurations, IPSET management, SELinux context fundamentals, custom policy creation, automation scripts, monitoring, common pitfalls, performance tips, and validation methods to build a multi‑layered defense.
LinuxSELinuxfirewalld
0 likes · 11 min read

This guide presents a production‑tested Linux hardening strategy that combines advanced firewalld zone and rich‑rule configurations with precise SELinux context management, offering step‑by‑step commands, custom scripts, troubleshooting tips, and performance optimizations to protect servers from the majority of common attacks.
LinuxSELinuxautomation
0 likes · 10 min read

This guide walks through practical Linux security hardening on RHEL 7, covering account locking, password policies, SELinux activation, SSH port changes, firewall minimization, immutable system files, and other measures to elevate the system to a higher security level.
LinuxRHEL7SELinux
0 likes · 13 min read

This comprehensive guide walks you through SELinux fundamentals, core concepts, mode differences, security contexts, real‑world configuration examples for web and database services, boolean management, troubleshooting techniques, performance tuning, and enterprise‑grade best practices to turn SELinux into a reliable production‑level security guardian.
Linux-securitySELinuxpolicy management
0 likes · 16 min read

Learn how to fortify Linux servers by mastering firewalld's advanced zone and rich‑rule configurations, leveraging IPSET for large address sets, and managing SELinux contexts and custom policies, with practical scripts, troubleshooting tips, and production‑grade best practices to achieve multi‑layered protection.
LinuxSELinuxfirewalld
0 likes · 11 min read

This guide walks you through hardening Linux servers by using firewalld's zone‑based advanced rules, rich rules, and IPSET collections, combined with precise SELinux context management, practical scripts, troubleshooting tips, and production‑grade best practices to build a multi‑layered defense.
LinuxSELinuxautomation
0 likes · 11 min read

This article thoroughly examines how JuiceFS, a FUSE‑based distributed file system, aligns with Linux's discretionary and mandatory access control models, implements Unix permissions, POSIX ACLs, special permission bits, capability handling, and SELinux integration, while detailing practical configurations such as SDK access, root‑squash, all‑squash, and optimized ACL storage.
CapabilityJuiceFSLinux permissions
0 likes · 16 min read

After CentOS 7 reaches end‑of‑life on June 30 2024, this guide explains why you must migrate, outlines three essential pre‑migration preparations, and provides detailed step‑by‑step commands to upgrade first to AlmaLinux 8 and then to AlmaLinux 9, including post‑migration checks and common pitfalls.
CentOSLeappLinux migration
0 likes · 8 min read

This guide walks through a comprehensive Linux hardening checklist for RHEL7, covering account locking, password policies, SSH port changes, SELinux activation, firewall tightening, and file attribute protections to elevate the system to a B1 security level.
HardeningLinuxRHEL7
0 likes · 12 min read

This guide explains how to permanently disable SELinux, set the system runlevel, enlarge file descriptor limits, fine‑tune kernel networking parameters via /etc/sysctl.conf, configure firewall settings, and troubleshoot common Linux socket errors to significantly improve server performance.
LinuxNetwork SettingsPerformance Tuning
0 likes · 7 min read

This guide walks through practical Linux security hardening on RHEL 7, covering account lockdown, password policies, SELinux activation, SSH port changes, login restrictions, file immutability, compiler and log protection, and minimal firewall rules to elevate the system to a higher security level.
RHEL7SELinuxSSH
0 likes · 12 min read

An in‑depth guide shows how to harden a RHEL 7 Linux server by tightening account permissions, enforcing password policies, limiting login attempts, changing SSH settings, restricting compiler use, protecting log files, applying minimal firewall rules, and enabling SELinux to achieve a B1‑level security baseline.
HardeningRHEL7SELinux
0 likes · 13 min read

This guide shows how to use Ansible to automate Linux sysctl parameter tuning, manage SELinux policies, and configure filesystem mount points, providing step‑by‑step examples and code snippets that simplify operations and improve system stability and security.
AnsibleMountSELinux
0 likes · 7 min read

This article explains how Kubernetes leverages the Linux kernel security mechanisms Seccomp, AppArmor, and SELinux together with Pod Security Standards and the built‑in admission controller to enforce fine‑grained security policies for container workloads in cloud‑native environments.
AppArmorKubernetesSELinux
0 likes · 8 min read

This guide walks through a comprehensive Linux hardening process on RHEL7, covering account lockdown, password policies, SSH port changes, SELinux activation, firewall minimization, file attribute protection, and compiler restrictions, all illustrated with concrete commands and configuration examples.
HardeningLinuxRHEL7
0 likes · 13 min read

This guide walks through comprehensive Linux security hardening on RHEL7, covering account lockout, password policies, SELinux configuration, SSH port changes, root login disabling, umask restriction, immutable system files, GCC limitation, log protection, minimal firewall rules, and related command examples.
LinuxRHEL7SELinux
0 likes · 13 min read

This guide walks through practical Linux security hardening on RHEL7, covering account control, password policies, SELinux configuration, SSH restrictions, firewall rules, file attribute protections, and other measures to elevate the system to a B1 security level.
RHEL7SELinuxSecurity
0 likes · 12 min read

This guide walks through practical Linux security hardening on RHEL7, covering TCSEC security levels, account lockdown, password policies, SSH hardening, SELinux activation, firewall minimization, immutable system files, and other configuration tweaks to raise the system to a B1 security rating.
LinuxRHEL7SELinux
0 likes · 12 min read

This guide walks through practical steps to harden a RHEL7 Linux server—including account restrictions, password policies, SELinux enforcement, SSH port changes, firewall rules, and file attribute protections—using concrete commands and configuration edits to boost system security.
LinuxRHEL7SELinux
0 likes · 13 min read

This guide details practical Linux hardening steps—including disabling SELinux, trimming startup services, applying the principle of least privilege, configuring sudo, synchronizing time, adjusting file descriptor limits, locking critical files, disabling ping, optimizing SSH, changing hostnames, and preventing destructive rm commands—to improve security and stability in production deployments.
LinuxSELinuxsudo
0 likes · 12 min read

Linux’s open architecture offers a rich set of security mechanisms spanning hardware, firmware, CPU features, kernel protections, and application‑level tools, and this guide systematically outlines each layer’s attack surface and corresponding defenses, from BIOS and TPM to SELinux, cgroups, and network hardening.
HardeningLinuxSELinux
0 likes · 17 min read

This guide explains what SELinux is, how its mandatory access control policies enforce security, the risks of disabling it, and provides step‑by‑step instructions for turning it off on CentOS while suggesting the permissive mode as a safer alternative.
CentOSLinux-securitySELinux
0 likes · 4 min read

The article explains how dynamically loaded dex files are optimized on Android 5.0 through 12—detailing AOT compilation via dex2oat, profile‑guided filters, runtime‑filter flags, class‑loader contexts, SELinux limits, and the use of PathClassLoader or the PMS performDexOptSecondary command to achieve performance comparable to installed APKs.
AOTAndroidClassLoader
0 likes · 17 min read

The article explains how a MySQL 5.7 service fails to start on a CentOS 7.9 server because SELinux blocks write access to err.log, walks through log inspection, strace tracing, SELinux context analysis, and provides a simple fix by disabling SELinux.
CentOSLinuxMySQL
0 likes · 7 min read

This article examines Android’s Binder inter‑process communication mechanism, detailing how SELinux integrates with the /dev/binder driver, the role of ServiceManager as ContextManager, the definition of binder‑related permissions, and the kernel‑level security hooks that enforce SEAndroid checks during binder transactions.
AndroidBinderIPC
0 likes · 20 min read

This guide explains why and how to disable SELinux on CentOS, covering status checks, temporary and permanent disabling methods, necessary configuration file edits, and verification steps to ensure the system runs without SELinux enforcement.
CentOSDisable SELinuxLinux-security
0 likes · 5 min read

The article explains the Linux Security Module (LSM) framework, detailing its origins, hook‑based architecture, kernel integration points, initialization process, and how it enables flexible, non‑intrusive security enhancements such as SELinux, allowing multiple security modules to coexist within the Linux kernel.
AppArmorLSMLinux-security
0 likes · 9 min read

This article investigates the Android dex2oat compilation restrictions introduced for targetSdkVersion ≥ 29, analyzes their impact on app performance, explores SELinux enforcement, and presents a practical solution using system commands and binder calls to trigger dex2oat compilation for both primary and secondary APKs, improving load and runtime speed.
APKAndroidSELinux
0 likes · 19 min read

This technical article investigates the Android 10+ dex2oat limitation that blocks app‑initiated compilation, analyzes its SELinux enforcement, and presents a practical solution using system commands and binder calls to trigger dex2oat for both primary and secondary APKs, achieving significant load‑time and runtime improvements.
ADBAndroidSELinux
0 likes · 20 min read

Learn how to install and configure Samba on Linux, covering the service’s history, required packages, daemon processes, main configuration file settings, command‑line tools, SELinux integration, and step‑by‑step client and server setup for Windows and Linux file sharing.
LinuxSELinuxSamba
0 likes · 15 min read

The article explains SELinux’s origins, core architecture, mandatory access control mechanisms such as type enforcement and MLS, and how Android incorporates SELinux as SEAndroid—detailing its evolution from permissive to enforcing mode, policy file structure, Android O’s split policies, and example domain and object transitions.
AndroidMacPolicy
0 likes · 17 min read

This article explains how SELinux enforces mandatory access control on Linux, describes its three modes, shows how to view and modify SELinux contexts for MySQL processes and data directories, and provides step‑by‑step commands to add custom paths, logs, PID files, and ports while preserving system security.
Linux-securityMySQLSELinux
0 likes · 8 min read

This article walks you through essential Linux security techniques—console protection, password policies, sudo alerts, SSH hardening, Tripwire intrusion detection, firewalld and iptables firewall management, compiler restrictions, immutable files, and SELinux auditing tools—providing concrete commands and configurations to harden your system against evolving threats.
HardeningSELinuxSSH
0 likes · 17 min read

This comprehensive guide presents 25 practical Linux hardening techniques—from BIOS protection and disk partitioning to SELinux configuration, firewall rules, and user account management—helping system administrators strengthen server security and defend against potential attacks.
HardeningLinuxSELinux
0 likes · 14 min read

This article walks through twelve essential Linux security techniques—including console access restrictions, password aging, sudo notifications, SSH hardening, Tripwire intrusion detection, firewalld and iptables firewall management, compiler restrictions, immutable files, SELinux reporting, and sealert usage—providing commands and configuration tips to fortify a system.
HardeningLinuxSELinux
0 likes · 15 min read

This article presents a comprehensive guide on strengthening Linux systems by applying console restrictions, password policies, sudo notifications, SSH hardening, Tripwire intrusion detection, firewalld and iptables firewall management, compiler restrictions, immutable files, and SELinux tools such as aureport and sealert.
HardeningLinuxSELinux
0 likes · 15 min read


DevOpsNov 8, 2018 · Cloud Native
This article provides a comprehensive tutorial on Docker's advanced security mechanisms, covering user namespace isolation, SELinux integration, PID limiting, and various kernel security tools, complete with command‑line demonstrations and configuration details for secure container deployments.
DockerPID limitsSELinux
0 likes · 17 min read


ITPUBMay 31, 2018 · Information Security
This article analyzes the recent surge of Redis unauthenticated attacks that install a worm, use pnscan for lateral scanning, modify system settings, and launch cryptocurrency mining, while providing detailed script breakdowns and remediation steps.
Malware AnalysisRedisSELinux
0 likes · 16 min read

This guide explains how to permanently disable SELinux, temporarily change its mode, and provides a comprehensive tutorial on using iptables—including table concepts, basic commands, rule management, scripting, NAT configuration, and saving/restoring firewall rules—on Red Hat/CentOS Linux.
CentOSLinux-securitySELinux
0 likes · 16 min read

This article provides a comprehensive, step‑by‑step guide to hardening a Linux system, covering console restrictions, password policies, sudo alerts, SSH tuning, Tripwire intrusion detection, firewalld and iptables management, compiler restrictions, immutable files, SELinux auditing with aureport, and the sealert tool.
HardeningSELinuxSSH
0 likes · 14 min read

This guide explains how to secure Linux servers against common attacks by configuring SELinux, iptables, SSH public‑key authentication, and immutable file attributes, while also showing real‑world scan results and practical hardening steps.
SELinuxSSH hardeningfirewall
0 likes · 7 min read

Discover 25 practical Linux hardening techniques—from BIOS protection and minimal package installation to SELinux configuration, firewall rules, and user account management—that help system administrators strengthen security, prevent attacks, and maintain a resilient, well‑configured server environment.
HardeningSELinuxSecurity
0 likes · 14 min read


ITPUBJan 30, 2017 · Information Security
This guide outlines practical techniques to improve Linux host security, covering BIOS password setup, disk encryption, boot directory protection, USB disabling, system updates, package cleanup, port scanning, SSH hardening, SELinux activation, network parameter tuning, password policies, and file permission hardening.
HardeningSELinuxSSH
0 likes · 14 min read

This guide walks through hardening an Nginx web server on Linux by configuring default files, testing and reloading, enabling SELinux, mounting least‑privilege partitions, applying sysctl security parameters, removing unnecessary modules, and deploying an iptables‑based firewall with detailed command examples.
HardeningLinux-securitySELinux
0 likes · 14 min read


ITPUBApr 11, 2016 · Operations
This step‑by‑step tutorial shows how to install Samba on a Linux server, configure a shared home directory, create a Samba user, adjust firewall and SELinux settings, and finally access the share from a Windows client.
ConfigurationLinuxSELinux
0 likes · 5 min read

Securing Linux systems requires more than a single anti‑malware tool; this guide outlines nine practical measures—including SELinux, vulnerability alerts, service hardening, log monitoring, port knocking, iptables, default‑deny policies, IDS, and full‑disk encryption—to strengthen system defenses against attacks.
IDSLinuxPort Knocking
0 likes · 6 min read
