Our latest design 'Sudo Bash Bites'. Because are you even a real #sysadmin if your cereal doesn't come with elevated root privileges and 777% permissions?

Our latest design 'Sudo Bash Bites'. Because are you even a real #sysadmin if your cereal doesn't come with elevated root privileges and 777% permissions?
Day 24/60 bash security: a handover audit found a config under /etc mode 666 -- world-writable, and the service reading it ran as root. Low-priv user steers root process. find / -xdev -perm -0002 -type f surfaced it. Also a stray SUID binary a previous admin left behind. chmod fixed both. #bash
Calling a bash function inside an if condition or an OR list disables set -e for the entire body of that function, even if the function explicitly specifies set -e. Commands inside will keep running after failing because the caller context overrides errexit. #bash #devops
https://github.com/IainKay/ram-altman A #bash script that writes to Sam #Altman once a day to report the #RAM he missed. #AI
Hey, Todd. The leaders of the Senate and Congress are Republicans until January. You just said that they called for Stephen Miller to be investigated. Possibly you're being prophetic, because that should happen.
2/2
Blanche needs to be investigated himself over the January 6th slush fund and the Trump IRS immunity.
Blanche is once again an unapologetic idiot. The reason Democrats are talking about investigations is because there are facts that are prompting them. Criminal acts will probably be found underlying the true facts already known.
Bash users can speed up CLI work with shortcuts like sudo !! (rerun last command with sudo), Alt+. to reuse the last argument, and !* to repeat all args. ⚡⌨️ #Linux #Bash #CommandLine
Typa Shi Claude Gives You For A Simple Monitoring
#programming #linux #unix #bash #Ai
https://programmerhumor.io/ai-memes/typa-shi-claude-gives-you-for-a-simple-monitoring-byp3
𝗕𝗮𝘀𝗵 𝗴𝘂𝗶𝗱𝗲
A guide to learn bash: basic operations, basic shell programming, tricks and debugging.
https://thewhale.cc/posts/bash-guide
#Bash #Guide
Pro-tip: Stop manually checking scripts. Use `termux-api` to pipe bash outputs to system notifications. You can script your phone to buzz you when a scan finishes or a port opens. Mobile automation at its finest. 📱⚡️
Day 23/60 bash security: I took over a box and measured the patch gap first. 211 days since the last apt run. 47 pending security updates. unattended-upgrades was installed but never enabled, so it looked healthy. grep security out of apt list --upgradable. That count is the urgent one. #bash
Day 22/60 bash security: the log told on the attacker before any alert did. auth.log went from 40 KB to 11 MB overnight. One IP behind 9,000+ failed SSH logins. Lesson I relearn often: don't grab the IP by column position. grep -oE it by shape so an undercount can't hide the attack. #bash