Score:1

Filtering out personal information on journalctl?

us flag

I was wondering if there was a way to filter out personal information when collecting system information with journalctl (i.e. MAC/IP address, certificates, firmware keys, etc.)?

guiverc avatar
cn flag
You've provided no OS/product & release details, what are you using? You've also used a *tag* that seems unrelated to systemd (ie. Linux Mint themes etc. that they've up-streamed to Ubuntu aren't involved with SystemD) so your question currently appears off-topic. I suggest reading https://askubuntu.com/help/on-topic
Score:1
it flag

Many of the items you mention aren't worth concealing.

Does your firewall or router do NAT (Network Address Translation)? Everybody's got 192.168.*.* IPs.

MAC addresses, by Standard, are visible only on your LAN. Nobody outside your LAN can access via MAC. MAC Addresses do encode some manufacturer information, so it's good to report.

Other info, "certificates, and firmware keys": Secret data is NOT logged (or it's a bug).

Other info, "etc." If it's secret and it's logged it's a bug.

Back in the old days, I used multiple sed (man sed) expressions, or specially written Perl scripts (man perl, buy the Camel book "Programming Perl").

Perform a Threat/Risk Analysis. What, exactly, is the Threat? What's the Risk if the Threat comes to pass? What's the Risk of protecting against the threat (Powering down prevents all Threats, but ...). What's the cost? Must the protection be constantly re-done, or is a fix-once?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.