Today I ran 'sudo usermod -G wireshark stsp' on #ubuntu.

On #OpenBSD this command adds 'stsp' to the 'wireshark' group, keeping membership in other groups intact.

On ubuntu, 'stsp' is added to the 'wireshark' group and *removed* from any other groups 🤦 The desktop crashes. Root access is now lost since 'stsp' is no longer in the 'sudo' group. I then learned about #Linux usermod's -a option, but I like #OpenBSD's -G default better.

I took a detour into recovery mode to fix up /etc/group.

@stsp asked our junior sysadmin to add everyone to the kvm group, everyone lost sudo access. insane defaults :/
@stsp gargle blargh! I know that feeling. Been bitten by it too, even *right after looking it up* to make sure I didn't do it again. So annoying!!
@stsp I've done this too, and it's made me paranoid every time I deal with group membership, even on sensible systems