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

  • irotsoma
    link
    fedilink
    22 days ago

    It’s rarely a good idea to log in as root, doubly so if it’s a system with sensitive data or services that could easily be disrupted accidentally. And even more important if multiple users log in. How will you know who broke things to teach them if they don’t log in first. The only time I log in to any system as root other than a test system is when I need to sftp to access files or some other system that doesn’t have a way to elevate permissions.