Hi,
Thanks for your feedback Julian. I've opened a bug[1] and will prepare a patch to error out the creation of fully numeric names (can still be overridden using the --badnames parameter)
Kind regards,
Victor
[1] https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1927078
Thanks for your feedback Julian. I've opened a bug[1] and will prepare a patch to error out the creation of fully numeric names (can still be overridden using the --badnames parameter)
Kind regards,
Victor
[1] https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1927078
On Tue, Apr 20, 2021 at 12:48 PM Julian Andres Klode <julian.klode@canonical.com> wrote:
On Thu, Apr 08, 2021 at 06:58:36PM +0200, Victor Tapia wrote:
> Hi,
>
> While reviewing a bug in Focal I noticed that useradd allows the creation
> of fully numeric usernames[1] but systemd does not like them[2]. This
> triggers issues in apps relying on systemd, such as gnome/gdm (returns to
> gdm after authenticating). For instance, after creating user 0, the user
> can log in via ssh or console but loginctl won't create a session for it:
It seems like a good idea to make useradd error out on such usernames
too, I suppose.
--
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer i speak de, en