This is like that time, last week, when I was having issues with do-release-upgrade and someone helpfully suggested to run sudo apt-get purge python* && sudo apt-get autoclean && sudo apt-get install python* Which I did without paying attention to what I was doing and it turns out that this is one of the worst things you could do ever on a Debian-based distro. Damn you, abu-ahmed al-khatiri.
What's wrong with that command?
Suicide Linux (2009)
21–30 of 183 posts
Re: Suicide Linux (2009)
#22It is replaced. You'll need to now enter `rm -rf / --no-preserve-root` for that command to actually do damage.
Re: Suicide Linux (2009)
#23> Perhaps rm -rf / should be replaced with something with more verbose flags set. It is replaced. You'll need to now enter `rm -rf / --no-preserve-root` for that command to actually do damage.
Re: Suicide Linux (2009)
#24This is like that time, last week, when I was having issues with do-release-upgrade and someone helpfully suggested to run sudo apt-get purge python* && sudo apt-get autoclean && sudo apt-get install python* Which I did without paying attention to what I was doing and it turns out that this is one of the worst things you could do ever on a Debian-based distro. Damn you, abu-ahmed al-khatiri.
What's wrong with that command?
It's not quite rm -rf /, but it was certainly "fun".
Re: Suicide Linux (2009)
#25Interesting. It annoys me when hackers tend to do something 'creative' once they're in. Instead of recursively deleting everything (which has the most impact) - they try some novel and boring task which has low impact. The end goal of all nefarious forms of hacking should be to wipe everything.
Re: Suicide Linux (2009)
#26Earlier quoted context omitted.
What's wrong with that command?
Many programs, including system utilities, are written in or indirectly powered by Python. Removing Python effectively cripples half of your system.
Re: Suicide Linux (2009)
#27This gives me an idea: Hell Linux. In Hell Linux, the operating system does its best to pretend that nothing is wrong, so it takes you as long as possible to realize that you've made a mistake. Commands ignore all unrecognized flags. In shell scripts, if one branch exits with a nonzero exit code, the other branch is taken. stderr is always redirected to /dev/null. 0 exit code is reported for all processes, no matter how they terminate. If you try to exec a file that doesn't exist, it runs a process that does nothing and immediately exits, unless it is part of a pipeline, in which case it consumes standard in. If you try to read a .json file that doesn't exist, you get the bytes "{}". When you read a log file, any lines containing "ERROR" or "WARN" are skipped. If you try to connect to a port that nothing is listening on, it does its best to behave like the service that should be listening there. Oh, the possibilities....
Re: Suicide Linux (2009)
#28This is like that time, last week, when I was having issues with do-release-upgrade and someone helpfully suggested to run sudo apt-get purge python* && sudo apt-get autoclean && sudo apt-get install python* Which I did without paying attention to what I was doing and it turns out that this is one of the worst things you could do ever on a Debian-based distro. Damn you, abu-ahmed al-khatiri.
I imagine apt has something similar, and maybe it's not (or wasn't) set by default on the dist you're running? If not, I would raise that as a bug with the distro, as breaking it with a command like that should be much harder to do accidentally.
Re: Suicide Linux (2009)
#29Example. In Mate Desktop. the default terminal is Mate Terminal. Upon installation of Suicide Linux, Mate Terminal could be modified to delete the users home, but provide no warning that it is running. For the user, they could use another terminal program for their daily needs without fear of deleting their home. In the event that their laptop is seized or stolen an attacker may use the default terminal program ie, Mate Terminal which would then upon the issue of any command delete the users home folder
If someone can make this I would install it
Re: Suicide Linux (2009)
#30> Perhaps rm -rf / should be replaced with something with more verbose flags set. That way, when you run a bad command, you are told immediately that things are being deleted This gives me an idea: Hell Linux. In Hell Linux, the operating system does its best to pretend that nothing is wrong, so it takes you as long as possible to realize that you've made a mistake. Commands ignore all unrecognized flags. In shell sc…