for the record I don't find any hard-coded limit on username length in pam.
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to util-linux in Ubuntu. https://bugs.launchpad.net/bugs/1865517 Title: cannot log in with long username Status in util-linux package in Ubuntu: Triaged Bug description: We use ldap authentication with mail addresses as usernames. So usernames are not posix and some are > 32 chars but are working. Some of them fire a bug : When trying to log, it doesn't asks for password, it just wait some seconds then reset to ask username. I can't clearly identify which regex fire the bug or not but this one does "username.lastnamelastnamelastn...@domain.fr" I reproduce it on ubuntu 18.04 and 20.04 daylibuild. In auth.log, that line pops up when bug is started "Mar 2 16:23:14 premier agetty[97945]: checkname failed: Operation not permitted" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1865517/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp