-
December 28th, 2007, 12:23 AM
#1
What Happens When You Do “sudo rm -rf /”?
Well, now you know
http://www.linuxhaxor.net/2007/12/27...do-sudo-rm-rf/
Seriously don't try this at home. Obviously in this video sudo was used because this was a debian based (most likely ubuntu?) system; that discourages login as root. If you are using any other kind of linux system and logged in as root, you won't be even prompt for a password before everything is gone.... gone... just gone...
I always wanted to try this. Maybe I will try this on a virtual machine and post some screen shots.
-
December 28th, 2007, 01:18 AM
#2
That is why some suggest that you alias rm -i for rm in your shell startup scripts.
Only trust Pipe-smoking Penguins.
-
December 28th, 2007, 02:11 AM
#3
I've done this and the deltree one (where regardless there isn't a password) just because the machine pissed me off. I have working versions of my configuration files and complete back ups in two locations and multiple CDs, DVDs, and USB drives containing back ups for everything so really me running this does nothing more than give me something to do for 30 minutes while I'm reinstalling the OS and grabbing the files off my FTP server or other places.
-
December 28th, 2007, 04:29 AM
#4
That's not what happens when you run "rm -rf /" as root.
Here, let me try it now....
.....oh noes....
*The Wolfman has been disconnected from Anti-Online*
-
December 28th, 2007, 08:15 AM
#5
Tried to "clear" my boot sector once.. Made a slight mistake.. Cleared way to much.... including the partitiontable....
System still ran, no problem.. Until you reboot....
dd if=/dev/zero of=/dev/ad0 bs=1024 count=10
Oliver's Law:
Experience is something you don't get until just after you need it.
-
December 28th, 2007, 01:25 PM
#6
I've done that before.... kinda funny. I did it in a vmware session and had the session revert to a snapshot I had taken right before I did it. vmware is great for things like that. Kind of one of those instances where you're told not to press the red button but you just have to!
Quitmzilla is a firefox extension that gives you stats on how long you have quit smoking, how much money you\'ve saved, how much you haven\'t smoked and recent milestones. Very helpful for people who quit smoking and used to smoke at their computers... Helps out with the urges.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|