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

  • SavvyWolf@pawb.socialEnglish
    22·
    3 months ago

    The home directory would need to be immutable, not bashrc.

    • 2ndSkin@sh.itjust.works
      4·
      3 months ago

      ?

      It’s .bashrc, not bashrc, and .bashrc is in the home directory.
      If .bashrc is immutable, it can’t be removed from home.

      • SavvyWolf@pawb.socialEnglish
        1·
        3 months ago

        It’s the directory that needs to be writable to delete files, not the file itself.

        Although the immutable bit (if that’s what you’re talking about - I thought you meant unsetting the write bit) might change that, I’m not sure.