Fess up. You know it was you.

  • tquid@sh.itjust.works
    link
    fedilink
    arrow-up
    97
    arrow-down
    1
    ·
    edit-2
    9 months ago

    One time I was deleting a user from our MySQL-backed RADIUS database.

    DELETE * FROM PASSWORDS;

    And yeah, if you don’t have a WHERE clause? It just deletes everything. About 60,000 records for a decent-sized ISP.

    That afternoon really, really sucked. We had only ad-hoc backups. It was not a well-run business.

    Now when I interview sysadmins (or these days devops), I always ask about their worst cock-up. It tells you a lot about a candidate.

    • RacerX@lemm.eeOP
      link
      fedilink
      arrow-up
      46
      arrow-down
      2
      ·
      9 months ago

      Always skeptical of people that don’t own up to mistakes. Would much rather they own it and speak to what they learned.

      • Flax@feddit.uk
        link
        fedilink
        English
        arrow-up
        28
        arrow-down
        1
        ·
        9 months ago

        This is what I was told when I started work. If you make a mistake, just admit to it. They most likely won’t punish you for it if it wasn’t out of pure negligence

      • chameleon@kbin.social
        link
        fedilink
        arrow-up
        19
        arrow-down
        1
        ·
        9 months ago

        It’s difficult because you have a 50/50 of having a manager that doesn’t respect mistakes and will immediately get you fired for it (to the best of their abilities), versus one that considers such a mistake to be very expensive training.

        I simply can’t blame people for self-defense. I interned at a ‘non-profit’ where there had apparently been a revolving door of employees being fired for making entirely reasonable mistakes and looking back at it a dozen years later, it’s no surprise that nobody was getting anything done in that environment.

        • ilinamorato@lemmy.world
          link
          fedilink
          arrow-up
          18
          ·
          9 months ago

          Incredibly short-sighted, especially for a nonprofit. You just spent some huge amount of time and money training a person to never make that mistake again, why would you throw that investment away?

    • cobysev@lemmy.world
      link
      fedilink
      English
      arrow-up
      21
      ·
      9 months ago

      I was a sysadmin in the US Air Force for 20 years. One of my assignments was working at the headquarters for AFCENT (Air Forces Central Command), which oversees every deployed base in the middle east. Specifically, I worked on a tier 3 help desk, solving problems that the help desks at deployed bases couldn’t figure out.

      Normally, we got our issues in tickets forwarded to us from the individual base’s Communications Squadron (IT squadron at a base). But one day, we got a call from the commander of a base’s Comm Sq. Apparently, every user account on the base has disappeared and he needed our help restoring accounts!

      The first thing we did was dig through server logs to determine what caused it. No sense fixing it if an automated process was the cause and would just undo our work, right?

      We found one Technical Sergeant logged in who had run a command to delete every single user account in the directory tree. We sought him out and he claimed he was trying to remove one individual, but accidentally selected the tree instead of the individual. It just so happened to be the base’s tree, not an individual office or squadron.

      As his rank implies, he’s supposed to be the technical expert in his field. But this guy was an idiot who shouldn’t have been touching user accounts in the first place. Managing user accounts in an Airman job; a simple job given to our lowest-ranking members as they’re learning how to be sysadmins. And he couldn’t even do that.

      It was a very large base. It took 3 days to recover all accounts from backup. The Technical Sergeant had his admin privileges revoked and spent the rest of his deployment sitting in a corner, doing administrative paperwork.

      • Mak'@pawb.social
        link
        fedilink
        arrow-up
        8
        ·
        9 months ago

        This. My comment was going to be “what kind of maniac uses auto commit?”