Many projects ask to share lots of logs when reporting issues. It’s difficult to go through all the logs and redact informarion such as usernames, environment variabled etc.

Any ideas on how to anonymize logs before sharing? Change your username to something generic?

    • ouch@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      26 days ago

      What would be the most common username and hostname?

      Are there even any default usernames in distros?

      As for hostname, I think Debian defaults to debian.

      • boredsquirrel@slrpnk.net
        link
        fedilink
        arrow-up
        2
        ·
        26 days ago

        Yeah but that reveals your distro. Default is nowhere used I think, but I think “PC” is a good default.

        And “user” is for sure the default username

        • MimicJar@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          26 days ago

          Sure that reveals your distro, but also consider what is in the logs you’re sharing. If you’re asking for help you probably also already said that you’re running Debian. Or the logs are full of apt logs already, querying a well known Debian mirror.

          You’re right that PC is a fine default, but think about the whole picture as well.