Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@teganburns I was actually quite impressed that it's even possible to shoot yourself in the foot this way. Yum ftw!
-
This makes me feel slightly less dumber, but wiping /dev/sda shouldn't be something so goddamn easy to go about...
I normally tap out "sudo yum remove application1 application2". There's no need to type the "sudo yum remove" twice. That's how I got a CentOS VPS its dependencies relatively quickly... -
Sadly can testify I did something similar. But on a Mac with brew. There was a handy permissions recovery tool hidden is a settings file thankfully. I got sudo back - I remember sitting there sweating thinking I'm so fired.
Related Rants
-
cdrice105"You gave us bad code! We ran it and now production is DOWN! Join this bridgeline now and help us fix this!" ...
-
gururaju56*Now that's what I call a Hacker* MOTHER OF ALL AUTOMATIONS This seems a long post. but you will definitely ...
-
athlon9Schrödinger’s semicolon Source: reddit r/programming
Not me, but a colleague questioned himself for a while over this one. He simply forgot a semicolon when doing some server maintenance:
sudo yum remove application1 sudo yum remove application2
This didn't just remove application1 and 2, it removed sudo and yum too. One slightly embarrassing call to the ops team later, we had to replace the box.
This, ladies and gentlemen, is why you should automate your server maintenance!
undefined
derp
wk88
automation
semicolon
sudo yum remove
maintenance