Disclaimer: Do not run this command.

  • I did this once by accident (bad scripting, managed to abort it,) it wasn’t too bad until sudo told me that the sudoers file had the wrong owner. I then learnt that there are other ways to become root.

    OS ran for another ~6months after I re chowned etc to root.

    • palordrolap
      link
      fedilink
      25 days ago

      Wow. You were lucky. That abort might have been what saved you there.