I accidentally untarred archive intended to be extracted in root directory, which among others included some files for /etc directory.
I went on to rm -rv ~/etc, but I quickly typed rm -rv /etc instead, and hit enter, while using a root account.

  • vapeloki@lemmy.world
    link
    fedilink
    arrow-up
    1
    arrow-down
    3
    ·
    edit-2
    12 hours ago

    So, you don’t do backups of /etc? Or parts of it?

    I have those tars dir ssh, pam, and portage for Gentoo systems. Quickset way to set stuff up.

    And before you start whining about ansible or puppet or what, I need those maybe 3-4 times a year to set up a temporary hardened system.

    But may, just maybe, don’t assume everyone is a fucking moron or has no idea.

    Edit Or just read what op did, I think that is pretty much the same

    • FauxLiving@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      7 hours ago

      But may, just maybe, don’t assume everyone is a fucking moron or has no idea.

      Well, OP didn’t say they used Arch, btw so it’s safe to assume.

      (I hate that this needs a /s)