How to destroy one's business...?


 
Thread Tools Search this Thread
The Lounge What is on Your Mind? How to destroy one's business...?
# 1  
Old 04-15-2016
How to destroy one's business...?

I don't know enough about this subject but this is for the big guns...

Yesterday:-

Man accidentally 'deletes his entire company' with one line of bad code | News | Lifestyle | The Independent
# 2  
Old 04-15-2016
OK, i have read the whole story and it boils down to a very bad case of "accidental rm -rf". But:
  • The Unix-variant the guy used is not named but i presume the guy used some sort of Linux. In Linux the rm-command has an already built-in protection against private persons (the translation of the greek terminus technicus for these people), see the man page:
    Code:
           --no-preserve-root
                  do not treat '/' specially
    
           --preserve-root
                  do not remove '/' (default)

    So, basically, to make an rm -rf / work at all you have to in fact override the default with rm --no-preserve-root -rf / and i wonder if this could happen by "accident".
  • Even given that this might happen, how comes the guy had all his backups mounted? Shouldn't there be at least one FS (or share, ...) to mount for every day/generation so that - if somethiing bad happens, like a corrupted FS - only one day worth of backups is destroyed?
  • And even then, how comes he hasn't tested his script prior to running it on production? Routinely, before doing an rm -rf <something> i do a echo <something> just to get an idea of what <something> might consist of.

So, all in all, i think this guy deserves the IT-equivalent of the Darwin Award for successfully cleaning himself out of the list of people doing business in the computer branch. This leaves more room for experts to do what he was clearly unfit to do - good!

Dear paratrooping experts, maybe you can help me out: i incidentally forgot that i had purposefully removed my parachute after i happened to enter a plane and then involuntarily opened its door and accidentally jumped out of it as it reached its maximum altitude of 35000 ft. Right now i am rapidly approaching the altitude of zero and maybe you can suggest what i should do now.

bakunin
This User Gave Thanks to bakunin For This Post:
# 3  
Old 04-15-2016
Hi bakunin...

Thanks for the reply. I for one am not sure if this is really happened, hence the question mark in the title bar. If it did the guy in question will never make the mistake again.

As I am no expert in this field I was relying on you pros to educate me.

But why mount the external parts before using rm in the first place?

The mind boggles.
# 4  
Old 04-15-2016
No no - mount only for the backup process, must be umounted for the rm.
# 5  
Old 04-18-2016
Quote:
Originally Posted by wisecracker
I for one am not sure if this is really happened,
And as it seems your gut feeling was right about that:
link to slashdot.org

Now, that i learned how things are done in this company: i am sooo inclined to host my next servers at this guys site. Knowing his understanding of "operational security" i take it there is nothing that could possibly go wrong.

If this really was a "marketing effort": it was a bad one.

Thanks to agent.kgb, who notified my of this link.

bakunin

Last edited by bakunin; 04-18-2016 at 09:23 AM..
This User Gave Thanks to bakunin For This Post:
# 6  
Old 04-19-2016
Hi bakunin...

Thanks for the info.

Went to the link and read it....

Cheers...
This User Gave Thanks to wisecracker For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Search and Destroy Script Direction Help

Being a beginner in scripting I am not sure the direction to take to accomplish the below task and would love suggestions. GOAL input file: domains.list Read input file, search in named.conf and find domain and delete entry for the purpose of cleanup activity. named.conf entry example zone... (8 Replies)
Discussion started by: djzah
8 Replies

2. Hardware

Plop boot manager Destroy the pc

Hello friends , yesterday i used plop boot manager to shutdown the pc but after using it, nothing happened on screen , i mean cpu is running but monitor show blank screen and then i reassembled the whole pc again ,cleaned , reattach all the devices again but problem persist . Any help (0 Replies)
Discussion started by: rink
0 Replies

3. Solaris

ZFS - Dataset / pool name are the same...cannot destroy

I messed up my pool by doing zfs send...recive So I got the following : zpool list NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT rpool 928G 17.3G 911G 1% 1.00x ONLINE - tank1 928G 35.8G 892G 3% 1.00x ONLINE - So I have "tank1" pool. zfs get all... (8 Replies)
Discussion started by: eladgrs
8 Replies

4. Red Hat

Cron entry for every 10 mints on business day business hour

Could you “crontab” it to run every 10 minutes on work days (Mo - Fr) between 08:00 and 18:00 i know to run every 10 mints but can any one guide me how to achieve the above one (2 Replies)
Discussion started by: venikathir
2 Replies

5. Solaris

How to Destroy a processor set i.e pset

First of all I'm new to solaris. Today is the first day i'm practicing zones. In global zone i have created a two separate pools of 2CPU's and created a email-zone and a web-zone as given in a PDF. I deleted the 2 zones in the processor sets. How can i destroy the processor set and i want my... (2 Replies)
Discussion started by: breaker64
2 Replies
Login or Register to Ask a Question