Bug#1014450: usernames have a 32 character limit

2022-07-13 Thread Matt Barry
On Wed, 2022-07-13 at 23:09 +0200, Marc Haber wrote: > On Wed, Jul 13, 2022 at 04:50:20PM -0400, Matt Barry wrote: > > On Wed, 2022-07-13 at 22:44 +0200, Marc Haber wrote: > > > On Wed, Jul 06, 2022 at 12:32:16PM +0200, Marc Haber wrote: > > > > the useradd documentation says that a user name has

Bug#1014450: usernames have a 32 character limit

2022-07-13 Thread Matt Barry
On Wed, 2022-07-13 at 23:11 +0200, Marc Haber wrote: > On Wed, Jul 13, 2022 at 04:50:20PM -0400, Matt Barry wrote: > > There actually is a test for this, and it passes (ie. fails in > > every instance, for a 33 character name) > > Does it also fail reasonably prettily for a < 32 character UTF-8

Bug#1014450: usernames have a 32 character limit

2022-07-13 Thread Marc Haber
On Wed, Jul 13, 2022 at 04:50:20PM -0400, Matt Barry wrote: > There actually is a test for this, and it passes (ie. fails in > every instance, for a 33 character name) Does it also fail reasonably prettily for a < 32 character UTF-8 name that is > 32 bytes when encoded? Greetings Marc --

Bug#1014450: usernames have a 32 character limit

2022-07-13 Thread Marc Haber
On Wed, Jul 13, 2022 at 04:50:20PM -0400, Matt Barry wrote: > On Wed, 2022-07-13 at 22:44 +0200, Marc Haber wrote: > > On Wed, Jul 06, 2022 at 12:32:16PM +0200, Marc Haber wrote: > > > the useradd documentation says that a user name has a 32 character > > > limit. We should enforce this as well. >

Bug#1014450: usernames have a 32 character limit

2022-07-13 Thread Matt Barry
On Wed, 2022-07-13 at 22:44 +0200, Marc Haber wrote: > Hi, > > On Wed, Jul 06, 2022 at 12:32:16PM +0200, Marc Haber wrote: > > the useradd documentation says that a user name has a 32 character > > limit. We should enforce this as well. > > Matt, would you want to take a quick plunge at this as

Bug#1014450: usernames have a 32 character limit

2022-07-13 Thread Marc Haber
Hi, On Wed, Jul 06, 2022 at 12:32:16PM +0200, Marc Haber wrote: > the useradd documentation says that a user name has a 32 character > limit. We should enforce this as well. Matt, would you want to take a quick plunge at this as well? You're still deeply acquained with the entire name checking

Bug#1014450: usernames have a 32 character limit

2022-07-06 Thread Marc Haber
Package: adduser Version: 3.121 Severity: normal Hi, the useradd documentation says that a user name has a 32 character limit. We should enforce this as well. In useradd, this seems to apply to the UTF-8 representation of the user name, that is, aa (two unaccented and 16