[Pkg-shadow-devel] Length of user names with regard to encoding.

Chris Hofstaedtler zeha at debian.org
Thu Nov 14 20:52:21 GMT 2024


* Chris Hofstaedtler <zeha at debian.org> [241114 20:53]:
> * Marc Haber <mh+pkg-shadow-devel at zugschlus.de> [241110 13:33]:
> > However, during debugging and improving UTF-8-support, I have found out
> > that an account named ффффффффффффффффф _CAN_ be created and seems to
> > happily work.

> > Should we:
> > 
> > - continue to enforce the encoded length of the user name to be < 32
> > - limit length of the user name to be < 32 _characters_ regardless
> >   of how long it is encoded?
> > - drop the length limit altogether?
> > - something else?

Had now a quick look into both the shadow and util-linux source, and
ISTM we can just declare the year is 2024, and state that usernames
must be UTF-8 encoded and no length limit applies.

Chris




More information about the Pkg-shadow-devel mailing list