mesov
mesov
> Please run `usermod -l Test -- Test` on `Debian` and `Ubuntu` and output the results of the run On Ubuntu 22.04, after adding a user with User Name "test"...
I can now confirm that the behavior is the same on Debian 12 and Ubuntu 22.04: they both seem to be calling `adduser` instead of `useradd`, applying the stricter regex...
This Debian patch may explain why `accountsservice` calls `adduser` instead of `useradd` on Debian 12 and Ubuntu 22.04: https://sources.debian.org/patches/accountsservice/22.08.8-6/0002-create-and-manage-groups-like-on-a-debian-system.patch/
Thank you for your prompt replies. A patch to the Debian package has now been suggested, since the problem was created by a Debian modification to `accountsservice`: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1065773.
I came up with some tentative suggestions to fix the issue, but maybe someone with `Debian` packaging skills could help with a downstream patch. Is @N0rbert is still around?