r/linuxadmin • • 6h ago

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

Post image
1 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

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

39 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 • • 19h ago

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

4 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 • • 10h ago

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

Post image
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 • • 18h 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 • • 1d ago

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

Thumbnail reddit.com
1 Upvotes

r/linuxadmin • • 1d 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 • • 18h 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 • • 1d ago

writing esub logs on IBM LSF

Thumbnail reddit.com
3 Upvotes

r/linuxadmin • • 2d ago

Linux Repos For PHP Vulnerabilities

Thumbnail reddit.com
1 Upvotes

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

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

0 Upvotes

r/linuxadmin • • 4d ago

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

Thumbnail runtimewire.com
42 Upvotes

r/linuxadmin • • 4d ago

Watch out for hallucinated online guides

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

needrestart :: Part 2

Thumbnail reddit.com
0 Upvotes

r/linuxadmin • • 5d ago

Memory admission, disk cleanup and sleep for a shared build host: lessons from running coding agents on spare machines

0 Upvotes

I run a small open source tool, boxd, that sends builds from coding agents to spare Linux machines (rootless Podman containers or small virtual machines, one per git worktree). Three host-side mechanisms, and what I got wrong first.

Admission by memory

  • All boxes live in one control group with memory.max and memory.swap.max (defaults 85 and 25 percent of host memory), plus per-box limits.
  • A new machine is admitted only if measured use plus its size fits the cap, and the sizes of running machines plus its size fit the cap too. Measuring alone fails: a young machine has not claimed its memory yet, so twelve 4 GB machines once got in on a 28 GB cap.
  • Otherwise: exit 75 and a message with the numbers, for example no room for another virtual machine (12288 MB of running machines + 4096 MB used by container boxes + 12288 MB asked > 24576 MB, 100% of the 24576 MB cap); wait for one to end or stop one. With --wait the client asks every 30 seconds and callers are served in the order they first asked. Without it, the client tries the next host.
  • Lesson: swap on zram is RAM. My count missed swapped memory. A group read 23713 MB with 7.7 GB more in swap and kept admitting machines until the kernel killed an 8 GB one. Now memory.swap.current is added, and half the swap the group may use on zram comes off the default cap.
  • Each machine records its real peak need, and removal says so: it needed 2900 MB of its 8192 MB at most.

The work area and its cleanup

  • It is its own btrfs subvolume, so system snapshots do not keep build data.
  • Whole box folders go, never single files: unused for BOXD_KEEP_DAYS (14), then the least recently used one per pass once the disk passes BOXD_EVICT_AT (70 percent) until it is under BOXD_EVICT_TO (60). The folder of a deleted worktree goes when the client next notices.
  • On a disk shared with the system, setup picks lower levels: current fill plus 20 points (at most 70), 10 below that, and 3 days.
  • Lesson: never judge a cache file's age by modification time. Package tools keep the upstream's old times on unpacked files, so one release deleted live cargo, Maven and npm cache files.
  • boxd-reset swaps in a clean subvolume in seconds. It refuses while anyone has an ssh session or holds boxd-keepawake.

A host that sleeps

The optional power module (boxd-idle) suspends after 20 quiet minutes: no ssh connections, load under 0.5, no boxd-keepawake lock. Before sleeping it arms wake on network and, if the disk is at BOXD_RESET_AT (85) percent, runs boxd-reset. The client sends a wake packet before each ssh; the wait is about 15 seconds.

Honest notes

All code was written by Claude Code, an AI coding agent, with me directing and testing on real hosts. It has been public for a few days. Host packages exist for Void Linux and Debian 13 only. MIT license: https://github.com/gsalucci/boxd

How do you handle memory admission on a host with zram swap, and what cleanup budget do you give build data on a disk shared with the system?


r/linuxadmin • • 5d ago

Come evitare l'installazione accidentale di pacchetti sul server

Thumbnail reddit.com
0 Upvotes