On a server I have a public key auth only for root account. Is there any point of logging in with a different account?

  • @ohshit604@sh.itjust.works
    link
    fedilink
    English
    42 days ago

    Is there any point of logging in with a different account?

    When you edit & save a file as root, root takes ownership of that file. I personally don’t like having to run chmod or chown every time I make minor changes to something.

    • @Futurama@lemmy.world
      link
      fedilink
      English
      61 day ago

      No, that’s not correct. If you create a new file as root, it will own that file. But editing an existing file doesn’t change the owner or group of that file.