Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. A man accidentally deleted his entire company with " rm -rf "

A man accidentally deleted his entire company with " rm -rf "

Scheduled Pinned Locked Moved The Lounge
comsysadminlinuxbusinessquestion
15 Posts 9 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Lost User

    Well, the Linux command is small news If your business has no backups, redundancy, in place to survive a typo, then that is a huge liability and failure.

    A Offline
    A Offline
    Ajit Hegde
    wrote on last edited by
    #3

    He had the backups

    To top it all off, Marsala even deleted his backups. He did have offsite backups but he had just connected to the provider and mounted the drives to his computer for access. This gave the command access to the offsite backup server too, letting it wipe its contents alongside everything else.

    L 2 Replies Last reply
    0
    • A Ajit Hegde

      He had the backups

      To top it all off, Marsala even deleted his backups. He did have offsite backups but he had just connected to the provider and mounted the drives to his computer for access. This gave the command access to the offsite backup server too, letting it wipe its contents alongside everything else.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #4

      This arcitecture also means ahacker or random ware had access to destroy those off site backup. It's no excuse. PCI auditors would have him bend over the stall with petro jelly :laugh:

      1 Reply Last reply
      0
      • A Ajit Hegde

        Linux deadliest command event. It seems this man run the command and deleted the entire data on server that hosted more than 1000 websites. What do you think is it bad luck or neglecting his work? A man deleted his entire company with one line of code - Business Insider[^]

        M Offline
        M Offline
        Mark_Wallace
        wrote on last edited by
        #5

        > rm -rf Leslie

        I wanna be a eunuchs developer! Pass me a bread knife!

        A 1 Reply Last reply
        0
        • M Mark_Wallace

          > rm -rf Leslie

          I wanna be a eunuchs developer! Pass me a bread knife!

          A Offline
          A Offline
          Agent__007
          wrote on last edited by
          #6

          That will remove nothing. Leslie's been removed twice already.

          You have just been Sharapova'd.

          J 1 Reply Last reply
          0
          • A Ajit Hegde

            Linux deadliest command event. It seems this man run the command and deleted the entire data on server that hosted more than 1000 websites. What do you think is it bad luck or neglecting his work? A man deleted his entire company with one line of code - Business Insider[^]

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #7

            Ajit Hegde wrote:

            What do you think is it bad luck or neglecting his work?

            Neither. He exposed a vulnerability which should never have existed. His chain of command should be purged of the obvious dead wood.

            Peter Wasser "The whole problem with the world is that fools and fanatics are always so certain of themselves, and wiser people so full of doubts." - Bertrand Russell

            1 Reply Last reply
            0
            • A Ajit Hegde

              Linux deadliest command event. It seems this man run the command and deleted the entire data on server that hosted more than 1000 websites. What do you think is it bad luck or neglecting his work? A man deleted his entire company with one line of code - Business Insider[^]

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #8

              I just heard that Queen Anne is dead. ;P

              1 Reply Last reply
              0
              • A Ajit Hegde

                Linux deadliest command event. It seems this man run the command and deleted the entire data on server that hosted more than 1000 websites. What do you think is it bad luck or neglecting his work? A man deleted his entire company with one line of code - Business Insider[^]

                D Offline
                D Offline
                den2k88
                wrote on last edited by
                #9

                Either he used an obsolete version of the shell or the "news" is related to the Roman Republic becoming an Empire. It's ages that rm -rf doesn't follow the ".." link.

                GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++*      Weapons extension: ma- k++ F+2 X If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver "When you have eliminated the JavaScript, whatever remains must be an empty page." -- Mike Hankey If a coffee bean is between the Earth and the Sun, is it a Java Eclipse? -- Sascha Lefèvre /xml>

                1 Reply Last reply
                0
                • A Ajit Hegde

                  Linux deadliest command event. It seems this man run the command and deleted the entire data on server that hosted more than 1000 websites. What do you think is it bad luck or neglecting his work? A man deleted his entire company with one line of code - Business Insider[^]

                  G Offline
                  G Offline
                  GuyThiebaut
                  wrote on last edited by
                  #10

                  Lots of good points made in the article however one extra thing I do, to be as safe as possible when using command line maintenance, is to write out everything in something like notepad first so that I can go through and check what the commands are. Then I just copy and paste in the commands, typing a command in realtime carries a lot of risks with it if you accidentally press the enter key. Similarly in sql updates - ensuring that the 'where' clause is not on a separate line also prevents accidentally running a delete on everything.

                  “That which can be asserted without evidence, can be dismissed without evidence.”

                  ― Christopher Hitchens

                  E 1 Reply Last reply
                  0
                  • A Agent__007

                    That will remove nothing. Leslie's been removed twice already.

                    You have just been Sharapova'd.

                    J Offline
                    J Offline
                    Johnny J
                    wrote on last edited by
                    #11

                    I doubt that! Somebody would have mentioned it here in The Lounge! :doh:

                    Anything that is unrelated to elephants is irrelephant
                    Anonymous
                    -----
                    The problem with quotes on the internet is that you can never tell if they're genuine
                    Winston Churchill, 1944
                    -----
                    I'd just like a chance to prove that money can't make me happy.
                    Me, all the time

                    1 Reply Last reply
                    0
                    • A Ajit Hegde

                      He had the backups

                      To top it all off, Marsala even deleted his backups. He did have offsite backups but he had just connected to the provider and mounted the drives to his computer for access. This gave the command access to the offsite backup server too, letting it wipe its contents alongside everything else.

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #12

                      A company that was never intended to exist very long, in this case :laugh:

                      The whole thing's rigged to blow, touch those tanks and "boooom"!

                      1 Reply Last reply
                      0
                      • A Ajit Hegde

                        Linux deadliest command event. It seems this man run the command and deleted the entire data on server that hosted more than 1000 websites. What do you think is it bad luck or neglecting his work? A man deleted his entire company with one line of code - Business Insider[^]

                        L Offline
                        L Offline
                        Lost User
                        wrote on last edited by
                        #13

                        Note to self: never, ever, ever hire Marco Marsala :laugh:

                        The whole thing's rigged to blow, touch those tanks and "boooom"!

                        1 Reply Last reply
                        0
                        • G GuyThiebaut

                          Lots of good points made in the article however one extra thing I do, to be as safe as possible when using command line maintenance, is to write out everything in something like notepad first so that I can go through and check what the commands are. Then I just copy and paste in the commands, typing a command in realtime carries a lot of risks with it if you accidentally press the enter key. Similarly in sql updates - ensuring that the 'where' clause is not on a separate line also prevents accidentally running a delete on everything.

                          “That which can be asserted without evidence, can be dismissed without evidence.”

                          ― Christopher Hitchens

                          E Offline
                          E Offline
                          englebart
                          wrote on last edited by
                          #14

                          Good idea on the 'where' clause safeguard.

                          1 Reply Last reply
                          0
                          • A Ajit Hegde

                            Linux deadliest command event. It seems this man run the command and deleted the entire data on server that hosted more than 1000 websites. What do you think is it bad luck or neglecting his work? A man deleted his entire company with one line of code - Business Insider[^]

                            P Offline
                            P Offline
                            Pat Ric
                            wrote on last edited by
                            #15

                            This is what happen when a critical thing falls into a powerful person. Cheers, Patric

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups