[Pkg-shadow-devel] Length of user names with regard to encoding.
Marc Haber
mh+pkg-shadow-devel at zugschlus.de
Sun Nov 10 12:33:38 GMT 2024
Hi,
adduser has been enforcing a 32 character limit for the _encoded_ user
name. Thus, ффффффффффффффффф (which is 34 bytes long in the encoded
variant) is invalid from adduser's point of view. We are testing for
this in the test suite.
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?
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421
More information about the Pkg-shadow-devel
mailing list