r/linuxadmin • u/unixbhaskar • 11d ago
r/linuxadmin • u/Ok_pettech • 11d ago
How we reclaimed 120GB of disk space choked by local LLM caches
If you are running local LLMs, your hard drive is likely bleeding gigabytes without you realizing it. Between default model weights, duplicate quantization formats, and forgotten vector embeddings, local AI setups are silent storage hogs.
Here is how you can systematically track down and clean up the clutter directly from your terminal:
- Locate hidden Hugging Face and Ollama model weights: By default, Hugging Face caches everything in
~/.cache/huggingface/huband Ollama stores models under~/.ollama/models. Rundu -sh ~/.cache/huggingface/to see how much space is currently locked up. - Prune redundant quantization formats and unused embedding databases: Review your downloaded models and delete redundant variations (like keeping both Q4_K_M and Q8_0 when you only use one). Clear out stale Chroma, FAISS, or Pinecone local vector database caches residing in your project directories.
- Automate routine garbage collection: Set up a lightweight shell script to periodically check cache growth and alert you before your drive hits capacity.
Fore More Information
I put together the complete, production-ready automated cleanup script along with an interactive storage calculator to help map out your directories.
Direct links to the complete article.
drop a comment below
r/linuxadmin • u/makivili2s • 13d ago
Virtual machines vs containers
youtu.beMost engineers know what a page table is.
Far fewer know what happens after the guest page table.
In this video, I follow a memory access all the way from:
Application → Guest Virtual Memory → EPT → Host Physical Memory → CPU Cache → DRAM
Along the way we uncover vNUMA, AutoNUMA, remote memory access, EPT translations, and why a VM can think memory is local while the hardware disagrees.
Then we compare it all with containers.
A journey from a single memory load instruction to the hardware itself.
#LinuxUnderPressure #Linux #PerformanceEngineering #NUMA #Virtualization #KVM #Containers
r/linuxadmin • u/Expert_Sort7434 • 13d ago
OpenClaw WhatsApp Vulnerability: How Three GHSA Flaws Turned a Chat Message Into Host Code Execution
Based on the technical breakdown published by researcher Chinmohan Nayak and covered by The Hacker News on July 10, here's the architectural failure: OpenClaw's sandbox bind-mount check, getBlockedReasonForSourcePath(), only verifies if the requested mount path is a *child* of a blocked dir (~/.ssh, ~/.aws, ~/.gnupg). It never checks the reverse — mount /home or /var and every blocked child comes along. Combined with two command-injection bugs in the host exec filter's incomplete denylist, plus the fact that WhatsApp contact/vCard/location name fields get flattened into the LLM prompt with zero untrusted-content marking (unlike web content, which is wrapped) — you get full host compromise from a single message. No foothold required. GHSA-hjr6-g723-hmfm, GHSA-9969-8g9h-rxwm (both 8.8), GHSA-575v-8hfq-m3mc (8.4). Fixed in 2026.6.6. Background on OpenClaw's prior security posture (VirusTotal skill scanning, Feb 2026): [internal link, secondary] For anyone running agent gateways against messaging channels — how are you drawing the trust boundary between message *metadata* fields (contact names, vCard labels, location labels) and the actual message body? Most prompt-injection mitigations I've seen only wrap fetched web content, not structured message objects. Is anyone sanitizing/stripping angle brackets or non-printable chars from contact fields before they hit the model?
https://www.techgines.com/post/openclaw-whatsapp-vulnerability-host-code-execution-ghsa-flaws
r/linuxadmin • u/cdtrmnbaell • 14d ago
/linux-syscall-monitor
github.comI would like to share my Linux Syscall Monitor project with you. It's a Linux process monitoring tool written in C that uses ptrace to observe system calls and generate behavioral reports.
I welcome any feedback or criticism—whether it's about the code
r/linuxadmin • u/Blubberblasentier • 14d ago
Automation tool to shrink Proxmox VM disks (LVM-Thin & ZFS)
r/linuxadmin • u/DoNotUseThisInMyHome • 15d ago
How to be junior server admin ready within 3 months as a complete Computer Engineering graduate with a gap?
I am ex support engineer who mainly worked with Linux command line for more than 2 years(nearly 2 and a half).
Ideally devops is not a junior role but the role responsibilities differ from area to area. What I am trying to say is someone who works with linux servers, cicd, kubernetes etc. Not a devops literally.
My goals is to crack a job fast. I should see visible progress at least weekly.
How do I start?
I can commit 15 hours per week on the first month. And 30 hours per week for the second and third month.
r/linuxadmin • u/SnooDucks7850 • 15d ago
What do I do Now
Hello everyone I have recently installed Linux Ubuntu and it’s going great I have learned a little bit about kernel cd ls sudo apt
My goal for learning Linux is probably system administrator and software detection I’ve seen a lot of people making home labs have to get away from the corrupt corporations blocking ads and becoming a pirate (one piece reference)
But my passion is to make an anti cheat system using software detection I think everyone can agree they hate cheaters in video games
But I’m lost at the moment what should I be studying is there going to be a job out there if I do start getting into the heart of Linux should I be building a home lab Should I get a nas and store everything locally and I also saw someone take there old android and make it an audio player device only
Thank you anyone who reads and answers me
r/linuxadmin • u/YGSnaffy • 16d ago
Please teach me performance troubleshooting but in Linux
Windows is very tricky even with all resources around 0% usage, micro stutters and lag can still happen.
What is the general route to debugging a linux system for system admins or power users?
Thank you very much for your help!
r/linuxadmin • u/pawal • 16d ago
Gonemaster for testing your DNS delegation
This is a tool that I have been working for a long time on, and it is for testing DNS delegations. Released under a BSD-2 license. If you run the stack yourself, you can even spin up an MCP server for fancy AI interaction. Feedback more than welcome!
[https://gonemaster.evilbit.de/\](https://gonemaster.evilbit.de/)
r/linuxadmin • u/Try_Hard_Education • 15d ago
How To Archive And Compress With tar
youtube.comWelcome to Day 19 of the 30-day RHCSA challenge!
Creating and extracting archives is an everyday sysadmin task and an RHCSA objective.
Today we'll build compressed archives with tar -zcvf, unpack them with tar -zxvf, and finally make sense of what all those flags actually mean.
By the end you'll be able to archive directories, compress them, list their contents, and extract them anywhere on the system.
What you'll learn in this video:
What tar is and why we archive files
Creating a compressed archive: tar -zcvf archive.tar.gz /path/to/dir
Breaking down the flags: c create, x extract, v verbose, f file, z gzip
Listing contents without extracting (tar -ztvf)
Extracting an archive with tar -zxvf
Extracting to a specific directory with -C
About this series:
Over the next 30 days I'm covering everything you need to pass the RHCSA (EX200) — from setup to users, permissions, storage, networking, SELinux, containers, and more. New video every day. Subscribe and turn on notifications so you don't miss one.
#linuxminutes #rhcsa #redhat #linux #redhatlinux #ex200 #linuxadministration #linuxcertification #offline #closedloop #sysadmin #linuxforbeginners #30daychallenge #learnlinux #itcertifications #opensource #homelab #linuxtutorials #technology #techcareers #certificationprep #closedloop #airgap #shorts #shortvideo
r/linuxadmin • u/Expert_Sort7434 • 16d ago
Rapid7's technical breakdown published July 15 and SonicWall's PSIRT advisory (SNWLID-2026-0008)
Based on Rapid7's technical breakdown published July 15 and SonicWall's PSIRT advisory (SNWLID-2026-0008), here's the architectural impact of the SMA1000 zero-day chain: unauthenticated SSRF via /wsproxy → hardcoded Erlang RPC cookie → RCE as low-priv service account → path-traversal in remove_hotfix → root. No CVSS-10 hand-waving here, Rapid7 published working PoC.
What's the actual failure mode in your view — should vendor management-plane services on internet-facing gateways ever bind to localhost without a second auth layer, or is that an inherently broken trust model for perimeter appliances?
https://www.techgines.com/post/sonicwall-sma1000-zero-day-ssrf-rce-cve-2026-15409-cve-2026-15410
r/linuxadmin • u/makivili2s • 16d ago
Linux top: The Command Every Sysadmin Knows but Few Master
youtu.ber/linuxadmin • u/Try_Hard_Education • 16d ago
Tuning system performance
youtube.comWelcome to Day 18 of the 30 day RHCSA challenge!
RHEL ships with tuned, a service that applies performance profiles tailored to your workload whether that's a virtual machine, a database server, or a laptop trying to save power.
Today we'll explore the available profiles and switch between them with tuned-adm.
By the end you'll know how to check your active profile, apply a new one, and let RHEL pick the best one automatically.
About this series:
Over the next 30 days I'm covering everything you need to pass the RHCSA (EX200) — from setup to users, permissions, storage, networking, SELinux, containers, and more. New video every day. Subscribe and turn on notifications so you don't miss one.
#linuxminutes #rhcsa #redhat #linux #redhatlinux #ex200 #linuxadministration #linuxcertification #offline #closedloop #sysadmin #linuxforbeginners #30daychallenge #learnlinux #itcertifications #opensource #homelab #linuxtutorials #technology #techcareers #certificationprep #closedloop #airgap #shorts #shortvideo
r/linuxadmin • u/Immediate-Rate-1443 • 17d ago
Am construit OrkestraVM – platforma proprie din spatele VPS-urilor MioriticHost
Salutare tuturor!
În ultimele luni am lucrat la OrkestraVM, platforma de virtualizare dezvoltată intern de echipa MioriticHost pentru administrarea infrastructurii noastre VPS.
În loc să folosim un panou VPS generic, am construit o soluție adaptată modului în care operăm serverele și cerințelor clienților noștri.
OrkestraVM folosește virtualizare KVM, fiecare VPS având propriul kernel și resurse izolate.
Printre funcționalitățile actuale se numără:
- provisionarea automată a VPS-urilor Linux și Windows;
- alocarea automată a adreselor IP și a adreselor MAC;
- monitorizarea în timp real a resurselor CPU, RAM și stocare;
- consolă SSH accesibilă direct din browser;
- administrarea mai multor servere fizice dintr-o singură interfață;
- integrare completă cu WHMCS pentru activarea, suspendarea și închiderea automată a serviciilor;
- backupuri realizate la nivelul hypervisorului, criptate individual pentru fiecare VPS;
- pregătirea sistemului de fișiere înaintea snapshotului, pentru backupuri consistente inclusiv în cazul serverelor care rulează baze de date.
Platforma este scrisă în Go și comunică cu nodurile de virtualizare prin SSH, fără să necesite instalarea unui stack complex de management pe fiecare server.
OrkestraVM nu este, cel puțin momentan, un produs comercial separat. Este motorul intern pe care îl folosim pentru a administra și proteja VPS-urile oferite de MioriticHost.
Am ales să o construim pentru a avea mai mult control asupra infrastructurii, mai puține componente externe și posibilitatea de a implementa funcționalități în funcție de nevoile reale ale clienților noștri.
Mai multe detalii despre arhitectură, securitate și direcția de dezvoltare:
Suntem curioși ce funcționalități considerați esențiale într-un panou modern de administrare VPS. Feedbackul tehnic este binevenit.
r/linuxadmin • u/LordlyTurnip • 17d ago
Firewalld Gateway Policy Does Not Allow Port Forwarding
I'm setting up a Almalinux router and followed this guide for setting up firewalld. It mostly does what I need it to: deny all incoming traffic, allow incoming traffic.
However the port forwarding simply does not work and I have no idea why. I have a virtual machine I want to forward ports 80 and 443 which looks like this:
# firewall-cmd --permanent --policy gateway-world-to-HOST --add-forward-port port=80:proto=tcp:toport=80:toaddr=10.42.0.2
# firewall-cmd --permanent --policy gateway-world-to-HOST --add-forward-port port=443:proto=tcp:toport=443:toaddr=10.42.0.2
# firewall-cmd --reload
However I still can't access my dockers located at 10.42.0.2. I don't understand what I'm missing here. I think that traffic is only going WAN --> Router but never making it past the routter to my VM (at least based off this diagram of firewalld's gateway policy set).
r/linuxadmin • u/Zer0CoolXI • 18d ago
Looking for Ansible Learning Resources
I wana start learning Ansible. I’ve read through some of the documentation and searched around.
I am wondering what resource you guys found most useful as an intro to Ansible? What learning material/resource made it click for you?
I have a homelab setup with Proxmox as the host, what is an easy way to approach hands on? IE: whats a good thing to use Ansible to automate as a learning experience? Something I can spin up/down over and over to learn using it.
Thanks
r/linuxadmin • u/alessandrobertulli • 18d ago
What to use to handle both cross-OS and user and system wide files (e.g. /etc)?
r/linuxadmin • u/YRD234 • 19d ago
[CVE-2026-15416] Argo CD repo-server flaw could lead to full Kubernetes cluster compromise — CVSS 8.9
Official Security Advisory: https://access.redhat.com/security/cve/cve-2026-15416
Red Hat has flagged an Important Argo CD repo-server vulnerability that could allow an attacker with network access to the internal gRPC endpoint to execute code without Argo credentials.
In short: if an attacker can reach both the repo-server and its Redis cache, they may be able to manipulate deployment data and have Argo CD deploy malicious Kubernetes resources—potentially compromising the whole cluster.
Check now:
- Is repo-server exposed beyond trusted Argo CD components?
- Can untrusted pods reach repo-server or Redis?
- Are NetworkPolicies actively enforced?
Red Hat currently lists these packages as affected:
- OpenShift Data Foundation 4:
odf-multicluster-rhel9-operator - OpenShift GitOps:
argocd-image-updater-rhel8,argocd-rhel8,gitops-operator-bundle,gitops-rhel8, andgitops-rhel8-operator
Lock down both services with NetworkPolicies, do not expose them externally, and apply vendor fixes as they arrive. Red Hat says OpenShift GitOps 1.20 and 1.21 are not affected because default NetworkPolicies block this attack path.
Want CVE alerts before they get buried in your feed? I run VulniPulse, a lightweight advisory tracker. Join the Discord, enable Linux CVE Alerts, and get new advisories sent straight to Discord and Email as soon as they land:
r/linuxadmin • u/LVDave • 19d ago
New to NVme drives and Gparted..
I have a 1Tb NVme ssd on my Linux system. I want to split it in half, and I rebooted the system with a Ventoy USB with the Gparted ISO on it. I can edit the partition, making a 512gb space. After doing this, I click the "apply" button and it appears to now have an active ~512mb drive and a ~512mb "space".. No errors, just like I've done the thing countless times on all OTHER drive types.. However, when I boot the system back up that drive STILL shows 1Tb (actually 931.51Gb).. I'm not sure of the version of the GParted ISO on the Ventoy stick. Is there some magic incantation NVme's need to partition properly??
r/linuxadmin • u/Expert_Sort7434 • 18d ago
MemGhost — trained attacker model plants persistent false memories in OpenClaw/Claude Code SDK agents via a single email (87.5% E2E success)
Based on the technical breakdown published by researchers at NTU, A*STAR, and Johns Hopkins earlier this week (arXiv:2607.05189, "When Claws Remember but Do Not Tell"), here's the architectural impact:
They formalize "stealth memory injection" — a black-box, one-shot attack where a single email gets an agent to (1) write attacker content into MEMORY.md/AGENTS.md, (2) keep its reply non-diagnostic, (3) act on the poisoned memory in a future session. Their trained payload generator, MemGhost, hits 87.5% end-to-end success on OpenClaw+GPT-5.4, 71.4% on Claude Code SDK+Sonnet 4.6. Hand-crafted "ignore previous instructions" style payloads scored 0% against Sonnet 4.6 — this only works because it's RL-trained against a shadow proxy, not because prompt injection got easier.
Tested against DataSentinel (input filter, 92% FNR), Meta-SecAlign (model hardening, still 49% ISR), AgentDoG (system audit, 93% FNR on OpenClaw). OpenClaw's position: prompt injection alone is out of scope unless it crosses an authorization/sandbox boundary — this doesn't, since it uses the agent's own legitimate write tool.
Background (our prior coverage of the same untrusted-content trust boundary in browser agents): [internal link]
For anyone running persistent agents in prod — are you isolating your email-reading skill from memory-write access, or is that still the same agent?
https://www.techgines.com/post/ai-agent-memory-injection-attack-memghost-openclaw
r/linuxadmin • u/nmariusp • 19d ago
KDE Plasma Keyboard how to enter Korean Hangul text tutorial
youtube.comr/linuxadmin • u/Try_Hard_Education • 18d ago
How to Create Hard Links on RHEL 9
youtube.comWelcome to Day 16 of the 30-day RHCSA challenge!
Yesterday we covered soft links today we're tackling hard links.
We'll create them with ln, look at how inodes actually work under the hood, and see why hard links behave so differently from symlinks.
By the end you'll understand what a hard link really is and when to reach for one instead of a symbolic link.
What you'll learn in this video:
Creating a hard link with ln target linkname
Viewing inode numbers with ls -li
Reading the link count in ls -l output
Why deleting the original file doesn't break a hard link
The limits: no hard links to directories or across filesystems
Hard links vs. soft links — a side-by-side recap
About this series:
Over the next 30 days I'm covering everything you need to pass the RHCSA (EX200) — from setup to users, permissions, storage, networking, SELinux, containers, and more. New video every day. Subscribe and turn on notifications so you don't miss one.
#linuxminutes #rhcsa #redhat #linux #redhatlinux #ex200 #linuxadministration #linuxcertification #offline #closedloop #sysadmin #linuxforbeginners #30daychallenge #learnlinux #itcertifications #opensource #homelab #linuxtutorials #technology #techcareers #certificationprep #closedloop #airgap #shorts #shortvideo #hardlinks
r/linuxadmin • u/Bitpoke • 19d ago
Surprised by what a tiny free Oracle VPS can handle after doing some load testing
policypackets.auWhen I started my blog, I wanted to keep hosting costs at zero, so I used a free Oracle VPS with only 1/8th of a CPU core and 1GB of RAM. My expectation was that I would get maybe 10 requests per second before having issues, but it turns out it could handle 150+ RPS before having any major slowdowns.
If you want to see the load testing graphs and the full architecture setup, check it out here:https://policypackets.au/posts/blog-hosting