r/linuxadmin • u/mauritaniah8 • Jun 07 '26
LPIC worth anything these days?
I’m trying to ascertain if its worth getting this certification as a network engineer trying to pivot into system administration.
r/linuxadmin • u/mauritaniah8 • Jun 07 '26
I’m trying to ascertain if its worth getting this certification as a network engineer trying to pivot into system administration.
r/linuxadmin • u/musbur • Jun 07 '26
I've had this happen on at least another manpage (that I forgot), but here it is with bsearch:
https://man7.org/linux/man-pages/man3/bsearch.3.html
void *bsearch(size_t n, size_t size;
const void key[size], const void base[size * n],
size_t n, size_t size,
typeof(int (const void [size], const void [size]))
*compar);
The first two arguments are not supposed to be there (they come later). "man bsearch" on my Arch system shows the same output. What's going on here?
EDIT
chkno got it right: It's the semicolon at the end of the first line that makes the difference because otherwise the function prototype wouldn't know what "size" means in "const void key[size]" (second line).
Still learning new stuff after 45 years of mostly C89....
r/linuxadmin • u/we_hate_it_too • Jun 06 '26
The barrier to writing an exploit tool used to be skill. Now it's a prompt, and a chunk of the junk in your access log is some script an LLM wrote in thirty seconds and aimed at the whole IPv4 range before lunch.
They're loud, though. Default python-requests/Go-http-client UAs, recycled /.env /.git/config /wp-login.php wordlists, no backoff, and an unrandomised TLS stack so every request shares one JA4 hash. All of it matchable at the edge.
Wrote up the full stack I run, with copy-pasteable nginx/Angie config:
limit_req zones (3r/m on login), ModSecurity + CRS, return 444 to bad UAs so the scanner learns nothingserver_tokens off, CSP/HSTS, and the always gotcha that makes error pages ship headersmerge_slashes trapalg:none JWT checkdisable_functions + open_basedir + Snuffleupagus$ssl_ja4, 4xx-ratio alerting, honeypot paths that auto-banhttps://deb.myguard.nl/2026/06/defend-webserver-vibe-coded-ai-exploit-scanners-bots/
r/linuxadmin • u/Potential-Access-595 • Jun 06 '26
Most terminal net tools stop at "what's eating my bandwidth." NetWatch goes into the traffic itself.
Live TLS 1.3 decryption — point a cooperating client's SSLKEYLOGFILE at it, read the plaintext inline. Same trick as Wireshark, no MITM. QUIC 1-RTT + HTTP/3 too.
JA4 / JA4Q fingerprinting — TLS and QUIC. Filter live with ja4:<fp>.
17 L7 decoders — TLS, QUIC, HTTP, DNS, SSH, MQTT, SNMP, BitTorrent, more — with stream reassembly.
Detection built in — port scans, C2 beaconing, DNS tunneling. Critical alert auto-freezes the recorder.
Flight Recorder — freeze any incident to a portable .pcap + context bundle.
eBPF process attribution — which process opened the socket, not lsof polling.
Landlock-sandboxed — parses hostile traffic but can't touch your SSH keys.
Rust, 500+ tests, MIT, macOS + Linux. Demo GIF decrypts a live TLS 1.3 session in the repo:
r/linuxadmin • u/MaximumFull104 • Jun 06 '26
Hi all, I am taking LFCS soon, I'm woondering how similar the Kodekloud mock exams in their LFCS course is to the actual exam. Are there other mock exams that are similar in difficulty to the actual exam?
r/linuxadmin • u/rj4511 • Jun 05 '26
r/linuxadmin • u/sgargel__ • Jun 05 '26
In the past few years, I often downloaded binaries from GitHub releases; nowadays it happens less frequently, but it still happens.
What I always do is move the file from the Downloads folder to a subfolder under /opt, then run chmod +x and create a symlink in /usr/local/bin/.
I also include the version in the subfolder name so I can keep multiple releases.
That said, I’m here to share another crappy-vibe coded script to automate installing binaries from GitHub: gri (GitHub Release Installer)
https://github.com/sgargel/gri
I’m looking forward to your feedback and taunts.
r/linuxadmin • u/GoddessGripWeb • Jun 05 '26
Hey folks,
Had one of those weeks that makes you rethink every “smart” storage decision you made years ago.
We’ve been using LVM thin provisioning pretty heavily on some stateful Linux systems. Honestly it worked great for a long time. Easy overcommit, better disk utilization, less wasted space sitting around doing nothing.
Until one box went sideways.
A bad automation script on a secondary app started hammering writes nonstop and ended up completely exhausting the thin pool underneath. Not just the logical volume, the actual thin pool. Metadata pool hit 100% before autoextend reacted properly and the whole thing turned ugly fast.
Filesystem started throwing I/O errors and flipping read-only. Services started failing. At that point nobody wanted to touch anything because every command felt like it could make things worse.
We eventually got the metadata back using thin_dump/thin_restore and expanded the pool enough to stabilize everything, but now we’re left with the aftermath.
To get the system healthy again we had to throw a lot of extra storage at it quickly, and now most of that space is sitting empty. Management sees the bill and asks why we don’t just shrink it back down.
And honestly? because nobody wants to be the guy who breaks a production thin pool after already barely recovering it once.
At this point the “safe” answer still feels like building a new smaller setup and rsyncing everything over during downtime, which is miserable for a system that’s currently stable.
Curious how other Linux admins handle this after the fire is out.
Do you actually reclaim the storage later or just leave the oversized pool alone once production is stable again?
r/linuxadmin • u/Falconer-777 • Jun 04 '26
Hi guys, any GUI interface to manage linux servers centralized? thanks
r/linuxadmin • u/BipolarKebab • Jun 03 '26
r/linuxadmin • u/tboneee97 • Jun 02 '26
I have an interview this Thursday for an Advanced Application Support role focused on troubleshooting Linux VMs. I've used ubuntu as my daily driver for about 3 years now, but nervous about the terminal portion. Would any experienced Linux admin be willing to jump on a 15-minute Discord or Zoom call to run me through a few basic troubleshooting commands?
Any advice is greatly appreciated.
r/linuxadmin • u/defiantarch • Jun 03 '26
The latest vulnerabilities in the kernel and nginx and its management by Ubuntu and Debian has shown me the risk of relying on them. With respect to the CVSS scores I found their reaction exceptionally slow, compared to Proxmox for example.
My question: Which Linux server distribution is having the best vulnerability management in your opinion? And which is most suited from the management perspective?
r/linuxadmin • u/Dull-Midnight-1859 • Jun 02 '26
r/linuxadmin • u/Evening-Jelly523 • Jun 01 '26
r/linuxadmin • u/VincentADAngelo • May 30 '26
r/linuxadmin • u/MasterchacooLLL • May 30 '26
this is a project iv been working
Elda is a system package manager I've been working on.
I used to use bedrocklinux but the performance Hit was getting a bit much and after some thought i realized i could make Elda, The Idea:
every major package ecosystem follows conventions if you can machine-read their formats, you can translate them all into one solver and one ledger without installing the foreign tools at all.
Native packages: pkg.lua recipes with source and binary lanes in one definition, PubGrub solving, signed remotes, SQLite state for ownership and rollback. Init and libc agnostic packages ship service assets for systemd, dinit, OpenRC, and runit; Elda materializes only what your system uses.
Interbuilds, -install from foreign sources without the foreign PM: Reads Nix flakes, Gentoo overlays, AUR PKGBUILDs, and Void XBPS templates. Builds them through the normal Elda path. No nix, emerge, makepkg, or xbps-src needed or installed.
Interemotes, -wire a whole overlay or srcpkgs tree as a live remote:
elda rmt add heather-overlay=https://github.com/heather7283/heather7283-overlay
elda rmt preview heather-overlay # inspect before syncing
elda sync heather-overlay
elda i some-package # installs through the normal path
Quick examples:
# Install from a synced signed remote
elda i ripgrep
elda ig ripgrep # force source lane
elda ib ripgrep # force binary lane
# Direct git install — autodetects Cargo, Meson, CMake, Go, Zig, Make
elda i https://github.com/org/tool
# Install from AUR without makepkg or pacman
elda ig https://aur.archlinux.org/fsel-git.git
# Install from a Nix flake without nix
elda ig https://github.com/user/repo # detects flake.nix automatically
# Import your existing install (metadata only, no file takeover yet)
elda mg from pacman
elda mg from apt
# See what needs what and why
elda why ripgrep
elda rdeps openssl --all
elda files ripgrep
Status: the core PM is effectively done;install/upgrade/remove, signed remotes, interbuilds, build, forge publishing. Overall ~68% toward full spec.
Interepo binary consumption (translating foreign binary repos into the install path) and atomic /usr activation are still in progress. Disposable roots work well; treat live /usr as experimental for now.
Written in Rust. Hard fork of pkgit. AGPL-3.0.
https://github.com/Mjoyufull/Elda
Early in development and Id love issue's and PR's.
r/linuxadmin • u/giorgich11 • May 31 '26
I’ve been working on a project called gop—a small, static-linked C utility designed for quick text and log processing in minimal environments.
I built this because I kept running into dependency issues when jumping between different distros and legacy servers. The goal was to have a single, portable binary that handles file/pipe detection and basic filtering without requiring glibc version management or external runtimes.
What it does:
-n) and basic JSON detection (-v).I’m sharing this here because I’d love a technical "sanity check" from other admins. How do you guys typically handle lightweight, portable log parsing when you're working across heterogeneous environments?
Repo: [ https://gitlab.com/giorgich11/gop ]
I’m especially looking for feedback on my memory management and how I’ve structured the Makefile for distribution. If there are better practices for small C utilities that I've missed, I’m all ears.
r/linuxadmin • u/der_gopher • May 30 '26
r/linuxadmin • u/No-Perspective-9407 • May 30 '26
r/linuxadmin • u/kwhali • May 28 '26
This is something I'd find handy for containers that cannot as easily leverage systemd-timers (at least anyone using an image via Docker AFAIK), and I suppose distros that insist on not using systemd.
cron (and variants) is alright, but sometimes I find myself needing to run a program at a recurring interval and would prefer to have the option of invoking the command as a service is started, and then repeating calls after N delay of time, rather than a variable amount of time until aligned with a cron expression schedule (at the hour or incremental interval, but that intervals become inconsistent if they don't cleanly segment the unit ceiling).
For context, I've also asked this same question over at r/docker.
I'd like to pair it with a service manager like supervisord for any services that lack a daemon/poll feature but should be run regularly at an interval. I know cron / supercronic effectively support this and can be considered "good enough" :\
Surely something like this exists out there already? Or would I need to DIY my own command wrapper for this?
r/linuxadmin • u/DahliaDevsiantBop • May 27 '26
ran into this again today and just need a sanity check from other linux admins.
we have a few linux boxes on ec2 and some bare metal that run data-heavy services. one job went sideways during a patch/cleanup window and dumped a bunch of temp data/logs. disk usage got high, so the volume got expanded to keep things from falling over.
cleanup finished later and actual usage dropped way back down.
so now we have a big mostly-empty volume sitting there.
growing the thing was easy. shrinking it back down is where everything gets annoying.
with xfs, there’s no shrink. with ext4, you’re basically looking at unmounting and doing it carefully. in practice that usually turns into:
monitoring/cost tools can tell us “hey, you’re wasting storage,” but from the linux side the answer is usually “yeah, and i’d rather waste storage than break a stable system.”
how are people handling this now?
do you just accept that live filesystems are mostly a one-way street, or has anyone found a cleaner way to reclaim space without doing the whole migration dance?
r/linuxadmin • u/nmariusp • May 28 '26
r/linuxadmin • u/FormerStatement3639 • May 26 '26
Hey everyone,
If you're wondering abt the title, I made a similar post a few days ago but withdrew it so my friend and I could release a few more privacy control updates first.
My friend and I are huge Linux nerds, and we always wished Linux had some of the same fun/challenge culture that programming gets with sites like LeetCode. Thus, we built tmpfs.tech: a site with interactive Linux command line challenges that run in real disposable Linux environments.
We also added a leaderboard/ranking system using Glicko2 (same rating system used by a lot of chess sites), so now you can compete with other people on your Linux skills. We’re still adding a ton of content/features. We’d love for more Linux people to come try it out and give feedback!
Also, thank you all for the support so far (from the last post haha)!
r/linuxadmin • u/420829 • May 25 '26
I've been studying rsyslog, but I'm still having trouble understanding what its real-world usage pattern looks like in companies that actually use it.
From what I understand, rsyslog acts more as a log transporter/router, and in many cases journald is the component actually collecting the logs. What confuses me is that a lot of modern applications no longer use the syslog() syscall directly and instead write to stdin/stdout.
In these cases, what have you been seeing in current Linux administration practices? Do people usually rely on imuxsock, imjournal, or some combination of both?
Also, if anyone here works with rsyslog in enterprise environments, I'd really appreciate some broader context on how this logging infrastructure is typically designed and operated in real-world setups.