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
      ·
      4 months 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
        ·
        4 months 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
          ·
          4 months 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.

          • boredsquirrel@slrpnk.net
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            4 months ago

            The distro is not regarding logs but local network, public wifis, etc. Data minimization.

            For logs of course you can tell them what you are running.