Recent posts tagged sysadmin

Level UI • 19 hours • in Articles • 9 min read
Somewhere in the last year, "do we need an MCP server?" joined the list of questions that arrive in a brief before anyone has said what the thing is for. It is usually framed as MCP vs API, as though the Model Context Protocol were a newer kind of AP...
post-cover-33074
  • ai
  • api
  • webdev
  • security
BashSnippets • 1 day • in Articles • 1 min read
A world-writable file can be rewritten by every account on the machine — including the service account your web server runs as. Code executing as www-data through a compromised plugin doesn't need root: any chmod 777 you left behind during past debug...
  • bash
  • linux
  • security
  • sysadmin
BashSnippets • 2 days • in Articles • 1 min read
A 64M scratch tmpfs, a worker process holding its log open on file descriptor 3, and the usual reflex when space runs low: rm the log. du on the directory dropped from 48M to 0. df stayed at 48M used. The next 32M write failed with No space left on d...
  • bash
  • linux
  • sysadmin
  • devops
CodeWithRomi • 5 days • in Articles • 9 min read
Originally published at codewithromi.comhttps://codewithromi.com/patch-these-four-linux-kernel-local-root-vulns-now-dirtyah6-pppoeject-tunderflow-and-diagspill/. Four Linux kernel vulnerabilities went public on 18 September 2026, and they are the kin...
post-cover-32434
  • linux
  • kernel
  • cybersecurity
  • sysadmin
BashSnippets • Oct 21 • in Articles • 1 min read
A demo script called report, two directories on PATH, and one mv between them, all on a scratch tmpfs: $ report report 2.1: 14 jobs ok exit=0 $ mv /opt/jobs/bin/report /opt/jobs/newbin/report $ ls -l /opt/jobs/newbin/report rwxrwxr-x 1 root root 42 ...
  • bash
  • linux
  • devops
  • sysadmin
BashSnippets • Oct 15 • in Articles • 1 min read
The standard bash alerting pattern ends the same way everywhere you read it: pipe the finding into mail. So I checked what my own box would actually do with that line. $ type -a mail mailx sendmail mail not found mailx not found sendmail not found ...
  • bash
  • linux
  • devops
  • sysadmin
BashSnippets • Oct 14 • in Articles • 1 min read
I wrote four lines to capture a bash error for a guide. One empty variable, tested twice: $ cat queue-check.sh !/bin/bash count="" if $count -eq 0 ; then echo "queue empty"; fi if $count -eq 0 ; then echo "queue empty "; fi $ bash queue-check.sh...
  • bash
  • linux
  • devops
  • sysadmin
BashSnippets • Oct 8 • in Articles • 1 min read
I set three log files to known ages with touch -d — exactly 30 days, 30 days and 12 hours, and 31 days — then ran what I thought was a 30-day retention policy: find . -name '.log' -mtime +30 It returned one file: the 31-day-old one. The 30.5-day f...
  • bash
  • linux
  • devops
  • sysadmin
Tom Smithverified • 15 hours • in Articles • 9 min read
Security dominated this week, but not in the usual way. Two active campaigns turned GitHub configuration files into attack surfaces. Researchers demonstrated that the built-in browsers inside AI coding tools can read your SSH keys. And at Oracle AI ...
post-cover-33104
  • agenticai
  • devsecops
  • github
  • localai
BashSnippets • Oct 6 • in Articles • 1 min read
A disk almost never fails loudly. It fills a percent at a time until writes stop, and at 100% nothing reports "disk full" — the database throws write errors about its own files, apps crash-loop, and logging a write itself stops recording at the exact...
  • bash
  • linux
  • devops
  • sysadmin
BashSnippets • Oct 1 • in Articles • 1 min read
A four-line YAML file port: 8080, supportemail, transport: tcp, reportdir: /var/reports and the rename most people type first: sed -i 's/port/listenport/g' app.yml. GNU sed 4.9 exited 0 and printed nothing, because -i never does. Afterwards the file ...
  • bash
  • linux
  • devops
  • sysadmin
alexvoste • Sep 25 • in Articles • 6 min read
Somewhere out there is a job posting that describes a "Linux System Administrator" as someone who "maintains servers." That description is technically true the way "doctors deal with bodies" is technically true. It tells you nothing, it undersells th...
post-cover-28624
  • devops
  • sysadmin
  • security
  • linux
spounka • Sep 24 • in Articles • 5 min read
Most users would schedule their tasks using a cronjob, and that's perfectly reasonable Introduction > I will assume you are running on a linux machine with systemd which you should be if you're running on a server, other init systems such as runit ...
post-cover-28485
  • linux
  • selfhosted
  • sysadmin
BashSnippets • Sep 24 • in Articles • 1 min read
A script that writes straight to the path a consumer reads can die halfway and leave a torn file that everything downstream loads as complete. No error appears anywhere, because the only process that failed is gone. I tested the fix the unfriendly wa...
  • bash
  • linux
  • devops
  • sysadmin
BashSnippets • Sep 16 • in Articles • 1 min read
Who owns that port? One ss flag answers it without sudo For months my dev server started on 3001 because something already held 3000, and I kept stepping around it. When I finally asked, ss -ltn 'sport = :3000' showed the port listening on every in...
post-cover-27426
  • bash
  • linux
  • security
  • sysadmin
chevron_left
🔥 23 posts • 👩‍💻 6 active writers

✨ Want to write in this topic?
Share your learning. Get discovered. Build your profile.
Join CoderLegion

💡 Why developers use CoderLegion
Track learning • Share posts • Get ranked publicly
Create your profile