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

    • ShortN0te@lemmy.ml
      link
      fedilink
      arrow-up
      4
      arrow-down
      5
      ·
      4 days ago

      Most comments here suggest 3 things

      1. least privilege: Which is ok, but on a Server any modification you do requires root anyway, there is usually very little benefit
      2. Additional protection through required sudo password: This is for example easily circumvented by modifying the bashrc or similar with an sudo alias to get the password
      3. Multiuser & audittrails: yes this is a valid point, on a system that is modified or administered by multiple ppl there are various reasons lime access logging and UAC for that

      An actual person from the pen testing world: https://youtu.be/fKuqYQdqRIs