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 -- ubuntu-devel mailing list ubuntu-devel@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel