Hi Richard, very interesting, you are right. The Bionic lxd.preinst script has:
# Add each admin user to the lxd group - for systems installed # before precise for u in $(getent group admin | sed -e "s/^.*://" -e "s/,/ /g"); do adduser "$u" lxd >/dev/null || true done I tried to install Bionic from the ISO image and I can confirm the admin group doesn't get automatically created at install time. This only affects Bionic as in >= Focal lxd is a snap, and I'm pretty sure the snap doesn't touch the groups. I filed this bug against the lxd package for the lxd maintainers to have a look: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1950635 Thanks again for raising the issue! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1942195 Title: Installing Samba unexpectedly adds many unknown local users to sambashare group To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1942195/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs