On Tue, Dec 10, 2024 at 06:08:40PM +0100, Simon Josefsson wrote: > I would involve cross-distribution discussion about this though. > Perhaps the /etc/passwd APIs affect some POSIX specifications, and a > non-ASCII extension could be proposed.
Yeah, good point. If the scope is going to include passwd entries that are distributed via network protocols like LDAP, then we need to worry about sites that support other Linux distributions beyond just Debian --- or for that matter, sites that need to support Linux as well as legacy Unix systems like AIX or Solaris. Of course, we could just exclude them from the scope and say that if you are using LDAP, then you MUST only use ASCII characters in the username, given that POSIX has decided to run away from the I18N problems wrt to usernames. That might be the simpler approach, unless we want to drive something that could eventually be adopted by POSIX. - Ted