this post was submitted on 17 Aug 2024
70 points (98.6% liked)

Linux

48052 readers
979 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 20 points 2 months ago (1 children)

Pro tip: name your user user and set your hostname to PC

[–] ouch 1 points 2 months ago (1 children)

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.

[–] [email protected] 2 points 2 months ago (1 children)

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 2 points 2 months ago (1 children)

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.

[–] [email protected] 1 points 2 months ago* (last edited 2 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.