On 30/03/2025 at 09:23, Marc Haber wrote:
On Wed, Mar 26, 2025 at 08:54:09PM +0100, Pascal Hambourg wrote:On 24/03/2025 at 20:29, Cyril Brulebois wrote:Oh wow, that's indeed badly broken, and will need fixing before the next release. Reproduced locally with a 'û' in my last name:
(...)
IIUC adduser's new sanitation regex for the 'comment' (ex-gecos) value) is defined by:commentre => qr/["-_\.+!\$%&()\]\[;0-9a-zA-Z\/ ]*/ It looks like only ASCII characters are allowed.
(...)
I am open to changing that regexp in adduser. (...)Possible options may include: - align adduser's comment sanitation regex on useraddYes. That would be the way to go. I am open for suggestions. We should probably allow the complete UTF-8 range (short of control characters) here.
Is there any update on this topic ? Can we still expect a change in adduser before Trixie release ?
Otherwise, I guess everyone agrees that user-setup cannot be left as is. A workaround may be to call adduser with the username in --comment to make sure the user account is created, and set the actual full name with chfn -f ?