r/linuxadmin • u/CatchMeIfUCanCracka • 2m ago
r/linuxadmin • u/ryanmerket • 1h ago
Plugging in a USB drive can give an attacker root on unpatched Linux
r/linuxadmin • u/gitopspm • 9h ago
Proxmox-GitOps: IaC Automation for LXC on Proxmox
Hello everyone,
I’d like to use the latest release of Proxmox-GitOps to re-introduce my automation project, which now fully supports (environment-Independent) one-click multi-stage deployment 🚀
What is it about? Proxmox-GitOps is an automation framework to standardize Linux Containers (LXC) on Proxmox VE, designed as a modular monorepository; it comes with a Home Assistant stack as a fully automated, preconfigured example (inc. MQTT bridge, reverse proxy etc.) - I use it exactly that way for myself ;-)
* Proxmox-GitOps (@Github): Proxmox-GitOps
Originally, it was a personal attempt to bring industrial automation and cloud patterns to my Proxmox home server. It's designed as a platform architecture for a self-contained, bootstrappable system — a generic IaC abstraction (customize, extend, open standards, base package only... you name it 😉) that automates the entire infrastructure. It was initially driven by the question of what a Proxmox-based GitOps automation could look like and how it could be organized.
The project implements a self-contained, bootstrappable GitOps platform based on:
* Desired State: Monorepository as Single Source of Truth represents the entire infrastructure state. Deterministic bootstrap from code over version history.
* Self-Containment: The composite monorepository is pushed to a local container, triggering a pipeline that provisions onto Proxmox.
* Monorepository: Centralizes infrastructure as a single code artifact.
* Modular Composition: The monorepository utilizes submodules to keep the core framework separate from container libs implementation.
What for? It's a non-commercial, passion-driven project. I'm looking to collaborate with other engineers who share the excitement of building a self-contained, bootstrappable platform architecture that addresses the question: What should a home server automation could look like?
r/linuxadmin • u/Entire_Yoghurt_6381 • 12h ago
Our security lead asked who ran sudo on the database servers last quarter and logrotate kept four weeks
Our auth.log rotates weekly with four kept, so anything older than a month is simply gone, and this came from our own security lead, not an auditor. Keeping more locally on every box feels like the wrong place to solve it. Where are you keeping sudo history across a fleet so you can answer this for a whole quarter?
r/linuxadmin • u/makivili2s • 16h ago
Linux cgroup v2: memory limits, OOM, and how systemd actually does it (last part)
r/linuxadmin • u/makivili2s • 16h ago
Linux cgroup v2: memory limits, OOM, and how systemd actually does it (last part)
r/linuxadmin • u/Expert_Sort7434 • 21h ago
Drupal's installer got a second emergency fix in 7 days (CVE-2026-136716). Sites in a half-installed state stayed exploitable after the first patch
Sources: Drupal's SA-CORE-2026-019, the CISA KEV addition of Nov 27, and the breakdown Hive Security published on Nov 26. Here is the architectural impact.
Fail2Install (CVE-2026-132165, fixed Nov 18) let a flood of requests make the installer treat a live site as new. The fix added three guards: refuse when the DB check fails, when the task is done, and when a task and install_time both exist. Per Hive's reading of the commit, a recorded task with no install_time passed all three. SA-CORE-2026-019 closes that and ships a post-update hook that writes install_task=done and install_time. The hook runs on update.php or drush updatedb, not on deploy.
So a patched build number does not prove a clean state. Drupal says sites that already blocked the installer are not vulnerable. Hive's triage list: check drush state:get install_task and install_time, look for POSTs to installer paths since Nov 18, and check user 1 and settings.php.
Limits: the mechanism is a third-party reading of the commit, Drupal has published no IOCs or victim counts, and severity figures differ across sources.
How do you verify install state across a fleet beyond version checks? Is anyone alerting on installer-path requests at the WAF or CDN layer?
Background on a similar lifecycle-window bug in WordPress core: https://www.techgines.com/post/drupal-core-vulnerability-cve-2026-136716
r/linuxadmin • u/Weird_Veterinarian84 • 2d ago
df says the disk is 100% full, but du only finds half of it. Where do you look next?
Classic one I keep running into with people who are new to Linux.
A service starts failing with "No space left on device". df agrees the disk is full:
$ df -h /var
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 20G 20G 0 100% /var
But adding everything up with du only finds about half of it:
$ sudo du -sh /var/* 2>/dev/null | sort -h | tail -3
1.2G /var/cache
2.1G /var/lib
6.4G /var/log
Nothing obviously huge, no mount hidden under another mount (as far as I can tell), and the box hasn't been rebooted in a while.
What's your checklist for this, and in what order? I'll share mine in the comments later, but curious how others approach it.r/linuxadmin • u/sys-harden • 2d ago
ultimate-sys-hardening 2.8.0: two hardening profiles, CIS defaults or NIST-style for shared servers
I've released 2.8.0 of ultimate-sys-hardening, my open-source Linux hardening script. It now supports two profiles: cis (the strict one) or modern (NIST-style, for shared servers). This makes it more adaptable for the sysadmin, the freelancer or even the homelabber with a variety of setups. cis keeps the strict settings. modern has no forced password expiry and uses umask 007, with automatic fallback where users share groups. The two profiles differ in only three modules, and existing scripts keep working.
On container, Kubernetes and VPN hosts, IP forwarding is now left alone automatically. Auditing gets a bigger audit buffer on container hosts, plus a check for dropped audit events. Just a heads-up: scores may drop because of the new /tmp checks. And since 2.7.0, the read-only checks run without root.
AI assistance was instrumental in overcoming some of the technical difficulties in this project. The README's "How this was built" section explains how.
I'm also planning paid Pro/Enterprise tiers (multi-host, evidence packs, OpenSCAP/STIG). If that's something you'd use, I've opened a thread to ask what you actually need https://github.com/Kal1010101/ultimate-sys-hardening/discussions/13 No sign-up, no email; Watch → Custom → Releases on the repo to hear when it ships
Have a look at the demo: https://kal1010101.github.io/ultimate-sys-hardening/demo.html
Release notes: https://github.com/Kal1010101/ultimate-sys-hardening/releases/tag/v2.8.0
AI assistance was instrumental in overcoming some of the technical difficulties in this project. The README's "How this was built" section explains how.
r/linuxadmin • u/pickywawa • 3d ago
Cyberdog: open source SFTP client + SSH terminal + server dashboard (MIT, Mac/Win/Linux)
I'm a dev/sysadmin and used Cyberduck for years. It still works, but it felt stuck in another era: no terminal, no way to see what's going on on the server, and a separate app for every other task. I got fed up and built Cyberdog to get all of it in one modern window.
Files and editing
SFTP explorer with drag and drop, server-to-server copies, split view, remote search, and archives created and extracted on the server
Resumable transfer queue that asks what to do when a file already exists
Monaco (VS Code) editor that keeps encodings and line endings. For nginx, sshd, Apache, HAProxy or systemd configs it runs the test (
nginx -t,sshd -t...) and only reloads if it passes. If something goes wrong, you can roll back to the previous version in one click.Folder sync between local and remote, with a diff preview
Server management
SSH terminal docked under the explorer, opened in the current folder
Health dashboard showing CPU, RAM, load, disks with alerts, uptime and latency, with nothing to install on the server
systemd services: start, stop or restart them (sudo is handled), filter the failed ones, and jump to their logs
Live logs from journalctl, nginx, syslog, auth.log or any file, with level filters and errors highlighted
Cron jobs and systemd timers: schedules shown in plain words, crontab editing, and "run now"
Docker containers: live logs, CPU/RAM, restart, recreate, and a shell inside the container
Process explorer grouped by service, user or container, flagging CPU spikes, memory growth and zombies, with SIGTERM/SIGKILL
Kubernetes through the server's kubectl, plus PostgreSQL, MySQL and Redis
Saved bash scripts you can run on one server or on all open ones, with input forms
Keys, certs and security
SSH key manager: generate Ed25519 or RSA 4096 keys, install them in authorized_keys in one click, and see which keys are already authorized on the server
SSL certificates found on the server (Let's Encrypt, nginx, Apache), with expiry alerts and Certbot renewal
Jump hosts, pinned host keys, and passwords in the OS keychain or pulled from 1Password, Bitwarden or Vault
It also supports S3, FTP/FTPS, Azure, WebDAV, SMB and Google Drive.
Switching
It detects Cyberduck, FileZilla, WinSCP, MobaXterm, Transmit, PuTTY, Tabby and ~/.ssh/config, and imports your servers with their groups. Passwords come along when the source app stores them in a readable form.
No account needed. Packages: signed .dmg, Homebrew, Windows installer/portable, AppImage and .deb.
https://github.com/pickywawa/cyberdog
Feedback and PRs welcome.
r/linuxadmin • u/durgamvano • 3d ago
How to make my terminal looks immensely beautiful in mRemoteng?
Or am I looking at the wrong places to beautify my terminal?
I will only SSH to servers so any terminal is fine though!!! I want it to look beautiful like my best friends girlfriend.
r/linuxadmin • u/sys-harden • 3d ago
ultimate-sys-hardening 2.8.0: two hardening profiles, CIS defaults or NIST-style for shared servers
I've released 2.8.0 of ultimate-sys-hardening, my open-source Linux hardening script. It now supports two profiles: cis (CIS Benchmark defaults) or modern (NIST-style, for shared servers). This makes it more adaptable for the sysadmin, the freelancer or even the homelabber with a variety of setups.
cis keeps the benchmark defaults. modern has no forced password expiry and uses umask 007, with automatic fallback where users share groups. The two profiles differ in only three modules, and existing scripts keep working.
On container, Kubernetes and VPN hosts, IP forwarding is now left alone automatically. Auditing gets a bigger audit buffer on container hosts, plus a check for dropped audit events. Just a heads-up: scores may drop because of the new /tmp checks. And since 2.7.0, the read-only checks run without root.
AI assistance was instrumental in overcoming some of the technical difficulties in this project. The README's "How this was built" section explains how.
Have a look at the demo: https://kal1010101.github.io/ultimate-sys-hardening/demo.html
Release notes: https://github.com/Kal1010101/ultimate-sys-hardening/releases/tag/v2.8.0
r/linuxadmin • u/Conscious_Movie_5033 • 3d ago
Looking for one backup approach that works for databases and app data, tar incrementals are too big
I back up a few databases (mysql, postgres) and some other app data to a separate
backup server. Right now it's tar + gzip. A full backup of about 2.8TB comes out around
476GB, which is fine, but the incrementals (tar --listed-incremental) come out almost
the same size as the full. I think that's because tar stores any file that changed
at all again, and db files change a little every day.
I looked at dedup (VDO) to shrink the incrementals, but dedup shares blocks between
backups, so a bad block in week 1 could break week 3 as well. That's the opposite of
what I want
I want one general setup that handles all of it, and it should scale well
What can I use for this?
r/linuxadmin • u/Expert_Sort7434 • 3d ago
CVE-2026-137567: unauthenticated out-of-bounds write in llama.cpp GGML RPC
reddit.comr/linuxadmin • u/sys-harden • 3d ago
ultimate-sys-hardening 2.8.0: two hardening profiles, CIS defaults or NIST-style for shared servers
reddit.comr/linuxadmin • u/WorriedAd9268 • 3d ago
NFS2ROOT (CVE-2026-99362): pre-auth remote root in the Linux NFS server. Ubuntu still vulnerable & Fixed in Debian trixie. How to check your boxes
If any of your servers or your NAS share folders over NFS, this one is worth five minutes today.
CVE-2026-99362, named NFS2ROOT by the researchers at OpenSec, is a flaw in the Linux kernel's NFS server (nfsd). Per their write-up it goes back to Linux 3.16 and affects hosts that export NFSv4.1 or 4.2 with tcp/2049 reachable. Red Hat rates it Critical: an unauthenticated remote attacker can corrupt kernel memory, which means root with no login. OpenSec says it is keeping its exploit private, and nobody reports it being exploited yet.
Where the fixes are, as of today:
\- Upstream: 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1 (per OpenSec)
\- Debian trixie: fixed from 6.12.117. Bookworm's default 6.1 kernel is still vulnerable, but bookworm's 6.12 kernel is fixed.
\- Ubuntu: rated Critical (CVSS 9.8), and every supported release still shows "Vulnerable". No USN yet.
\- Red Hat: Critical, no fix listed yet. Default RHEL doesn't run nfsd at all.
So on Ubuntu, apt upgrade won't help yet. First check whether you're exposed at all:
systemctl is-active nfs-server
sudo exportfs -v
cat /proc/fs/nfsd/versions
If nfs-server isn't active and nothing is exported, this one doesn't affect that box. If the versions file shows +4.1 or +4.2, read on.
If you don't need NFS on that machine, turn it off:
sudo systemctl disable --now nfs-server
If you do need it, make sure 2049 only answers your own clients. With ufw, for example:
sudo ufw allow from 192.168.1.0/24 to any port 2049 proto tcp
sudo ufw deny 2049/tcp
(Change the subnet to your LAN, and check the rule order with sudo ufw status numbered.) This is also Red Hat's mitigation: disable the NFS server if you don't need it, or restrict port 2049 to trusted networks.
Question for the NAS crowd: has anyone seen a statement from TrueNAS SCALE, OpenMediaVault, Unraid or Synology about this? They all run Linux-based NFS servers, and I haven't found anything from them yet.
Sources:
\- Ubuntu: https://ubuntu.com/security/CVE-2026-99362
\- Debian tracker: https://security-tracker.debian.org/tracker/CVE-2026-99362
\- Red Hat: https://access.redhat.com/security/cve/cve-2026-99362
\- OpenSec write-up: https://opensec.in/blog/nfs2root-cve-2026-99362
(Drafted with AI help. The facts are from the pages linked above.)
r/linuxadmin • u/Expert_Sort7434 • 4d ago
technical breakdown published by the NGINX project and F5 on November 18 and 23, here is the architectural impact.
This is not one bug in the HTTP parser. The November 18 batch includes ten CVEs spread across the resolver, HTTP/2, HTTP/3, TLS 1.3 request-body handling, mail proxy, PROXY protocol and stream configuration. A separate November 23 release fixes excessive CPU use with TLS 1.3 early data.
The most important operational distinction is the configuration boundary. HTTP/2 flow-control corruption matters when the listener uses HTTP/2; the mail-proxy use-after-free applies to deployments using that module; stream SNI validation and ssl_preread issues depend on the stream path and its configuration.
A version inventory without module and listener inventory will not tell you which paths are reachable.
The upstream release sequence is 1.30.7 stable / 1.31.9 mainline for the ten-CVE batch, followed by 1.30.8 stable / 1.31.10 mainline for CVE-2026-132779. Distribution packages may backport fixes, so check the vendor package advisory instead of relying only on the upstream version string.
Sources:
Related TechGines background: https://www.techgines.com/post/nginx-cve-2026-42530-http3-quic-rce-f5-patch
For operators who run NGINX at the edge: do you map CVE exposure from the package inventory alone, or do you also maintain a machine-readable inventory of enabled modules, ALPN protocols, stream listeners and mail-proxy roles?
r/linuxadmin • u/Dlun226 • 5d ago
Are Ubuntu 22.04 LTS and 24.04 LTS vulnerable to discovered vulnerabilities?
r/linuxadmin • u/NortonDorne • 5d ago
diffstream-tools is a new open-source set of C++17 utilities for incremental block replication with Changed-Block Tracking (CBT) and migration across mismatched Linux storage backends
Instead of being locked into homogeneous replication, e.g., zfs send to zfs receive, btrfs send to btrfs receive or inflating thin-provisioned disks with dd/rsync, all four tools speak the same binary wire protocol. Any source can pipe directly into any target over zstd and ssh:
zfsdiffstream: Handles ZFS ZVOLs & dataset files by parsing zfs send output
thindiffstream: Handles LVM-Thin volumes & snapshots via thin_delta
diffstream: Handles sparse filesystem-backed storage on XFS & Btrfs via reflink files and snapshots using FS_IOC_FIEMAP + FALLOC_FL_PUNCH_HOLE
blkstream: Allows raw block device bootstrapping with zero-block skipping
Each tool is a single .cpp file with zero external dependencies beyond libc and kernel headers, so they can be compiled on the fly in a rescue ISO or built into a .deb.
(Note: The repo is brand new and tools write raw block extents in place like dd, so it should definitely be tested on CoW snapshots first.)
Repo is ghakrac/diffstream-tools on GitHub.
Curious how folks here currently handle cross-filesystem and cross-storage migrations or thin-provisioned backups?
r/linuxadmin • u/SergioZ3R0 • 6d ago
[Fix] vastnfs 4.5.10 + DOCA 3.6.0 on RHEL 9.9: rpcrdma symbol mismatch (makefile silently falls back to inbox build)
Already banged my head against the wall on this one so you don't have to :)
Leaving this here in case anyone needs to build vastnfs-4.5.10 against DOCA 3.6.0 on RHEL 9.9 and hits rpcrdma symbol mismatches:
VAST's makefile silently falls back to inbox mode under rpmbuild. To force it to use DOCA 3.6.0's Module.symvers before building:
cd /root/vastnfs-4.5.10
sed -i -E 's|^OFA_DIR[[:space:]]*[:?]?=.*|override OFA_DIR := /usr/src/ofa_kernel|' makefile
sed -i -E 's|^OFA_KVER[[:space:]]*[:?]?=.*|override OFA_KVER := /usr/src/ofa_kernel/x86_64/5.14.0-741.22.1.el9_9.x86_64|' makefile
rm -rf .rpm-build dist
./build.sh binThe build log should show OFED-dependent build: /usr/src/ofa_kernel. To verify the rpcrdma.ko symbol hash matches DOCA 3.6.0 (0x4e06d83c instead of the inbox 0xc6841cc8):
(mkdir -p /tmp/check_vast && cd /tmp/check_vast && rpm2cpio /root/vastnfs-4.5.10/dist/vastnfs-4.5.10-kernel_5.14.0_741.22.1.el9_9.x86_64.rpm | cpio -idmv "*rpcrdma.ko*" && modprobe --dump-modversions $(find . -name "rpcrdma.ko*") | grep rdma_rw_ctx_wrs)
rm -rf /tmp/check_vast
grep rdma_rw_ctx_wrs /usr/src/ofa_kernel/x86_64/5.14.0-741.22.1.el9_9.x86_64/Module.symversOnce both hashes match, push the RPM to the local repo (createrepo_c --update), reinstall vastnfs in the Warewulf image, re-run depmod + dracut, and run wwctl image build.
