How to completely crash a systemd based system from any user

Red Squirrel

No Lifer
May 24, 2003
70,167
13,573
126
www.anyf.ca
Oops... they'll have to fix this one! lol

https://www.agwa.name/blog/post/how_to_crash_systemd_in_one_tweet

I tried it in Mint 18, I was not sure whether or not that system even uses systemd, but found out it does. At first nothing happened, then I ran it in a loop as suggested, and it worked. At first the system seemed fine. Not sure how long it would have taken to notice stuff, but then I tried to reboot and that's when all hell broke loose. It actually did reboot eventually, but not a full reboot so I ended up at a black screen with just a cursor. I did a hard reset then I was back in the game.

This is a rather interesting bug. I would say it's actually critical on any system that is accessed by multiple users, such as a web server.

This also makes you wonder what other bugs exist that can be altered by simple environment variables. I'm sure this is going to spawn a full security audit.
 

Azuma Hazuki

Golden Member
Jun 18, 2012
1,532
866
131
Ohhhhh shit. That is not good. Good thing I got the boss's go-ahead to run most of our internal stuff on BSD, Gentoo, and Slack! :D