<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Linux Administration on MeerStory</title><link>https://linux.meerstory.com/categories/linux-administration/</link><description>Recent content in Linux Administration on MeerStory</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sat, 17 Oct 2026 02:21:50 +0900</lastBuildDate><atom:link href="https://linux.meerstory.com/categories/linux-administration/index.xml" rel="self" type="application/rss+xml"/><item><title>Batch Update Group Passwords in Ubuntu with chgpasswd</title><link>https://linux.meerstory.com/ubuntu/20261017_022120_97/</link><pubDate>Sat, 17 Oct 2026 02:21:50 +0900</pubDate><guid>https://linux.meerstory.com/ubuntu/20261017_022120_97/</guid><description>&lt;h2 id="overview">Overview&lt;/h2>
&lt;p>Manually modifying group passwords across multiple security groups on Linux servers introduces operational friction and human error. Linux administrators can streamline bulk credential provisioning with &lt;code>chgpasswd&lt;/code>, an indispensable utility designed for unattended batch password assignments. This practical walkthrough covers standard input ingestion, robust cryptographic cipher selection, and hands-on terminal workflows to modernize your group credential automation.&lt;/p>
&lt;h2 id="environment-preparation-provisioning-system-test-groups">Environment Preparation: Provisioning System Test Groups&lt;/h2>
&lt;p>Begin by setting up isolated system groups to benchmark credential modifications safely. Run &lt;code>sudo groupadd -r devops_team &amp;amp;&amp;amp; sudo groupadd -r qa_team&lt;/code> to provision two test environments.&lt;/p></description></item><item><title>Enforcing System-Wide GnuPG Configurations in Ubuntu</title><link>https://linux.meerstory.com/ubuntu/20261011_023811_40/</link><pubDate>Sun, 11 Oct 2026 02:39:09 +0900</pubDate><guid>https://linux.meerstory.com/ubuntu/20261011_023811_40/</guid><description>&lt;h2 id="executive-summary">Executive Summary&lt;/h2>
&lt;p>Managing cryptographic baselines across multi-user Linux deployments demands automated policy distribution. This walk-through explores &lt;code>applygnupgdefaults&lt;/code>, an administrative utility engineered to roll out standardized GnuPG options across local user profiles on Ubuntu. From verifying prerequisites to establishing global defaults and auditing deployed profiles, this tutorial equips system administrators with a reproducible workflow for fleet-wide cryptographic consistency.&lt;/p>
&lt;h2 id="1-preparing-the-environment-and-verifying-gnupg-tooling">1. Preparing the Environment and Verifying GnuPG Tooling&lt;/h2>
&lt;p>Before orchestrating system-level policies, ensure your platform has the latest OpenPGP binaries and management tools installed by fetching &lt;code>gnupg&lt;/code> alongside &lt;code>gpgconf&lt;/code>.&lt;/p></description></item><item><title>Demystifying the Linux Login Prompt</title><link>https://linux.meerstory.com/ubuntu/20261011_015740_36/</link><pubDate>Sun, 11 Oct 2026 01:58:03 +0900</pubDate><guid>https://linux.meerstory.com/ubuntu/20261011_015740_36/</guid><description>&lt;h2 id="overview">Overview&lt;/h2>
&lt;p>Whenever a Linux machine completes its boot cycle, administrators are greeted by a classic, unassuming text prompt: &lt;code>login:&lt;/code>. Behind this familiar interface sits &lt;code>agetty&lt;/code>, an indispensable terminal manager daemon. Rather than sifting through convoluted manual pages, this tutorial provides a direct, practical walkthrough of how systemd orchestrates virtual terminals, how to customize pre-login welcome banners using &lt;code>/etc/issue&lt;/code>, and how to tweak runtime parameters using systemd service drop-in overrides.&lt;/p>
&lt;h2 id="unpacking-agetty-and-inspecting-active-systemd-services">Unpacking agetty and Inspecting Active systemd Services&lt;/h2>
&lt;p>First, verify the binary&amp;rsquo;s exact filesystem location on your host by running &lt;code>which agetty&lt;/code>.&lt;/p></description></item><item><title>Mastering Ubuntu User Management</title><link>https://linux.meerstory.com/ubuntu/20261011_015016_35/</link><pubDate>Sun, 11 Oct 2026 01:50:49 +0900</pubDate><guid>https://linux.meerstory.com/ubuntu/20261011_015016_35/</guid><description>&lt;h2 id="introduction--core-concepts">Introduction &amp;amp; Core Concepts&lt;/h2>
&lt;p>Establishing structured, secure user accounts alongside strict privilege separation forms the cornerstone of sound Linux systems administration. This walkthrough dives into battle-tested techniques for managing Ubuntu user lifecycles using &lt;code>adduser&lt;/code>—an approachable, high-level Perl wrapper engineered to minimize human error. Along the way, we will dissect key discrepancies between &lt;code>adduser&lt;/code> and its low-level counterpart &lt;code>useradd&lt;/code>, explore home directory permission hardening, and review critical cleanup workflows.&lt;/p>
&lt;h2 id="provisioning-accounts-with-adduser-interactive-prompts-vs-automated-scripting">Provisioning Accounts with adduser: Interactive Prompts vs. Automated Scripting&lt;/h2>
&lt;p>Before rolling out user configurations, verify that your machine has the necessary utility suites refreshed and provisioned:&lt;/p></description></item><item><title>Mastering Group Administration in Ubuntu</title><link>https://linux.meerstory.com/ubuntu/20261011_013415_33/</link><pubDate>Sun, 11 Oct 2026 01:34:36 +0900</pubDate><guid>https://linux.meerstory.com/ubuntu/20261011_013415_33/</guid><description>&lt;h2 id="introduction-why-group-management-matters-in-linux">Introduction: Why Group Management Matters in Linux&lt;/h2>
&lt;p>Role-based access control and collaborative directory sharing in any multi-tenant Linux deployment hinge on well-structured group architectures. Rather than assigning privileges to individual accounts piecemeal, system administrators rely on security groups to delegate file ownership, daemon execution rights, and administrative capabilities. This walk-through covers how Ubuntu handles group provisioning via the Debian-native &lt;code>addgroup&lt;/code> command-line utility, detailing standard workflows, custom group allocation, and the underlying records tracked inside &lt;code>/etc/group&lt;/code> and associated system databases.&lt;/p></description></item><item><title>Mastering the Linux cpio Command</title><link>https://linux.meerstory.com/ubuntu/20261010_015840_28/</link><pubDate>Sat, 10 Oct 2026 01:59:17 +0900</pubDate><guid>https://linux.meerstory.com/ubuntu/20261010_015840_28/</guid><description>&lt;h2 id="overview">Overview&lt;/h2>
&lt;p>Long recognized as the underlying backbone for Linux kernel &lt;code>initramfs&lt;/code> images and legacy Unix backup utilities, &lt;code>cpio&lt;/code> remains an indispensable command-line packaging tool. Operating across three primary operational paradigms—copy-out (&lt;code>-o&lt;/code>), copy-in (&lt;code>-i&lt;/code>), and copy-pass (&lt;code>-p&lt;/code>)—this utility delivers granular control over file archiving and tree migration. This step-by-step tutorial walks you through practical scenarios on Ubuntu, demonstrating how to construct archives, inspect payloads, perform fail-safe extractions, and integrate real-time compression pipelines.&lt;/p></description></item><item><title>Mastering Linux curl</title><link>https://linux.meerstory.com/ubuntu/20261009_020330_19/</link><pubDate>Fri, 09 Oct 2026 02:04:24 +0900</pubDate><guid>https://linux.meerstory.com/ubuntu/20261009_020330_19/</guid><description>&lt;h2 id="overview">Overview&lt;/h2>
&lt;p>Modern backend engineering and system administration frequently require versatile command-line data transfer. In this hands-on tutorial, we explore practical applications of &lt;code>curl&lt;/code>—the ubiquitous Swiss Army knife of networking. You will discover how to dispatch baseline web queries, interact with REST APIs, inspect HTTP transaction headers, and reliably fetch multi-megabyte payloads in headless Linux server environments.&lt;/p>
&lt;h2 id="1-setting-up-the-tooling-and-inspecting-remote-responses-get-requests">1. Setting Up the Tooling and Inspecting Remote Responses (GET Requests)&lt;/h2>
&lt;p>Before issuing network requests, synchronize your local APT repositories and ensure the utility is available on your Ubuntu workstation.&lt;/p></description></item><item><title>The Complete Guide to Inspecting Network Ports with Linux ss</title><link>https://linux.meerstory.com/ubuntu/20261009_015658_18/</link><pubDate>Fri, 09 Oct 2026 01:57:42 +0900</pubDate><guid>https://linux.meerstory.com/ubuntu/20261009_015658_18/</guid><description>&lt;h2 id="overview">Overview&lt;/h2>
&lt;p>Diagnosing socket states and tracing open communication channels sits at the core of effective Linux system troubleshooting. While legacy toolsets like &lt;code>netstat&lt;/code> were once ubiquitous, the modern Linux ecosystem relies on the significantly faster and more capable &lt;code>ss&lt;/code> utility. In this hands-on walkthrough, we dive into leveraging &lt;code>ss&lt;/code> to inspect active connections, monitor listening services, identify bind ports, and correlate network sockets with their controlling process IDs.&lt;/p>
&lt;h2 id="1-preparing-the-environment-and-inspecting-global-socket-statistics">1. Preparing the Environment and Inspecting Global Socket Statistics&lt;/h2>
&lt;p>The &lt;code>ss&lt;/code> command-line utility ships out of the box with the &lt;code>iproute2&lt;/code> package on modern Ubuntu distributions. Begin by updating the local package index and ensuring &lt;code>iproute2&lt;/code> is fully installed and up to date.&lt;/p></description></item><item><title>Mastering Linux sudo</title><link>https://linux.meerstory.com/ubuntu/20261009_011001_11/</link><pubDate>Fri, 09 Oct 2026 01:10:22 +0900</pubDate><guid>https://linux.meerstory.com/ubuntu/20261009_011001_11/</guid><description>&lt;h2 id="overview">Overview&lt;/h2>
&lt;p>Delegating administrative access without exposing root credentials makes &lt;code>sudo&lt;/code> an indispensable utility in modern Linux environments. This practical guide breaks down how privilege delegation works under the hood, highlights high-frequency CLI options used in production, resolves common shell redirection hurdles, and reviews configuration validation through &lt;code>visudo&lt;/code>.&lt;/p>
&lt;h2 id="inspecting-user-credentials-and-privilege-escalation-mechanics">Inspecting User Credentials and Privilege Escalation Mechanics&lt;/h2>
&lt;p>To determine the active user identity within the current shell session, evaluate the primary User ID (UID) by invoking &lt;code>id -u&lt;/code>.&lt;br>
The returned value &lt;code>0&lt;/code> identifies direct access as the superuser account.&lt;/p></description></item></channel></rss>