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.

  • thisbenzingring@lemmy.today
    link
    fedilink
    English
    arrow-up
    30
    ·
    3 days ago

    Is there any reason to use a root account?

    if you just borked your /etc and need to rebuild because you don’t have sudo anymore

    • rumba@lemmy.zip
      link
      fedilink
      English
      arrow-up
      4
      ·
      3 days ago

      I hand-edited sudoers.conf day one on the job without using visudo

      So in one day, I learnd both how to move a volume from one AWS VM and that there’s no good reason not to use visudo.