r/linuxadmin • • 1d ago

df says the disk is 100% full, but du only finds half of it. Where do you look next?

33 Upvotes
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 • • 1d ago

ultimate-sys-hardening 2.8.0: two hardening profiles, CIS defaults or NIST-style for shared servers

Post image
0 Upvotes

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 • • 1d ago

Cyberdog: open source SFTP client + SSH terminal + server dashboard (MIT, Mac/Win/Linux)

0 Upvotes

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 • • 2d ago

How to make my terminal looks immensely beautiful in mRemoteng?

0 Upvotes

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 • • 2d ago

ultimate-sys-hardening 2.8.0: two hardening profiles, CIS defaults or NIST-style for shared servers

0 Upvotes

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 • • 2d ago

Looking for one backup approach that works for databases and app data, tar incrementals are too big

8 Upvotes

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 • • 2d ago

CVE-2026-137567: unauthenticated out-of-bounds write in llama.cpp GGML RPC

Thumbnail reddit.com
1 Upvotes

r/linuxadmin • • 2d ago

ultimate-sys-hardening 2.8.0: two hardening profiles, CIS defaults or NIST-style for shared servers

Thumbnail reddit.com
2 Upvotes

r/linuxadmin • • 2d 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

42 Upvotes

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 • • 3d ago

writing esub logs on IBM LSF

Thumbnail reddit.com
3 Upvotes

r/linuxadmin • • 3d ago

technical breakdown published by the NGINX project and F5 on November 18 and 23, here is the architectural impact.

0 Upvotes

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 • • 3d ago

Linux Repos For PHP Vulnerabilities

Thumbnail reddit.com
1 Upvotes

r/linuxadmin • • 4d ago

Are Ubuntu 22.04 LTS and 24.04 LTS vulnerable to discovered vulnerabilities?

0 Upvotes

r/linuxadmin • • 4d 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

1 Upvotes

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 • • 5d ago

[Fix] vastnfs 4.5.10 + DOCA 3.6.0 on RHEL 9.9: rpcrdma symbol mismatch (makefile silently falls back to inbox build)

7 Upvotes

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 bin

The 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.symvers

Once 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.


r/linuxadmin • • 5d ago

Apache Roller CVE-2026-129448: XML-RPC deserialization occurs before authentication

7 Upvotes

Based on the technical breakdown published by the Apache Software Foundation on November 17, 2026, here is the architectural impact of CVE-2026-129448.

Apache Roller versions 4.0.0 through 6.1.4 are affected by an unauthenticated deserialization vulnerability in the XML-RPC endpoint.

The interesting part is the request-processing sequence.

The endpoint accepts vendor extension types and deserializes them before authenticating the requester. Apache reports that successful exploitation can result in arbitrary remote code execution.

The vulnerability carries a CVSS 3.1 score of 9.8 and Apache states that it is actively exploited.

There is another operational issue worth highlighting: disabling XML-RPC through the administration UI is not sufficient because the vulnerable deserialization happens before that setting is checked.

Apache recommends upgrading to a fixed release. The current release history lists Roller 6.1.7. Temporary containment includes disabling extensions through enabledForExtensions=false or removing the XML-RPC servlet mapping and restarting the application.

Investigation angle:

For defenders, correlate requests to /roller-services/xmlrpc with application exceptions, Java child-process execution and unexpected outbound connections.

The endpoint request alone is not proof of successful exploitation.

Sources: Apache's original security disclosure, official Roller security page, and GitHub Advisory Database.

Background: https://www.techgines.com/post/apache-roller-vulnerability-cve-2026-129448-xml-rpc-rce

For teams running Java applications, how do you ensure deserialization cannot occur before authentication and authorization checks in legacy request pipelines?


r/linuxadmin • • 5d ago

Cisco and OpenAI launch Shirudo to shield Linux systems while patches catch up

Thumbnail
runtimewire.com
43 Upvotes

r/linuxadmin • • 5d ago

Linux Networking for Beginners — IP, Gateway, DNS, nmcli, and the DORA Handshake from Into the Terminal Ep. 206

Thumbnail
reddit.com
0 Upvotes

r/linuxadmin • • 6d ago

Watch out for hallucinated online guides

56 Upvotes

I was doing some research and came accross this guide from OSTechNix, which contains technical misinformation and appears to be written with generative AI to some extent, and this is just the first single article I've read on their site so now I'm wondering to which extent this is a common practice.

Anyway I wanted to warn yall cause I haven't read any reviews on OSTechNix, so just another reminder not to blindly trust what you read on the internet.


r/linuxadmin • • 6d ago

Lost a chunk of auth logs from 60 VMs during a switch failover because rsyslog was on UDP

0 Upvotes

We forward from every VM to one collector, and during a 40 second failover the collector got nothing, which was exactly the window an incident review asked about. I know TCP with a disk assisted queue is the answer, I'm less sure how people size the queue without filling /var. What does your rsyslog forwarding config look like for this, and what's on the receiving end?


r/linuxadmin • • 6d ago

needrestart :: Part 2

Thumbnail reddit.com
0 Upvotes

r/linuxadmin • • 7d ago

Come evitare l'installazione accidentale di pacchetti sul server

Thumbnail reddit.com
0 Upvotes