Hello, I've conducted verification for this fix on Jammy

Jammy Verification
==================

Generate sos report using affected plugin:
------------------------------------------

sos report -o login

Use the clean component on the generated sos report
---------------------------------------------------

sos clean /tmp/sosreport-test-2025-06-16-bofpmqg.tar.xz

Check that username is obfuscated
---------------------------------

cat /tmp/sosreport-host0-2025-06-16-bofpmqg-private_map

...File Contents...
    "username_map": {
        "bryan": "obfuscateduser0"
    }

tar -xf /tmp/sosreport-host0-2025-06-16-bofpmqg-obfuscated.tar.xz
grep -r "bryan" sosreport-host0-2025-06-16-bofpmqg
Results in no matches which means username does not appear in 
sos_commands/login/*

grep -r "obfuscateduser0" sosreport-host0-2025-06-16-bofpmqg
sos_commands/login/last_-F:obfuscateduser0    pts/1                         Mon 
Jun 16 20:45:05 2025 - Mon Jun 16 20:45:06 2025  (00:00)
sos_commands/login/lastlog:obfuscateduser0            pts/1                     
Mon Jun 16 20:45:05 +0000 2025
sos_commands/login/lastlog_-u_1000-60000:obfuscateduser0            pts/1       
              Mon Jun 16 20:45:05 +0000 2025

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2102199

Title:
  username clean doesn't work in 4.8.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/sosreport/+bug/2102199/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to