On Fri, Aug 02, 2024 at 05:18:54PM +0200, Chris Hofstaedtler wrote:
> in #1076619 it was reported that usernames ending with backslashes
> break useradd/usermod/userdel, etc (from src:shadow).
> Allowing backslashes was a Debian patch. To fix #1076619,
> backslashes are now forbidden. However, adduser's autopkgtests
> assume that backslashes are good to use.

Is that change in the allowed user names backed by policy? We allow
backslashes in adduser to cater for some samba corner cases where a user
named domain\user is needed.

I am kind of concerned that this tightening of src:shadow's allowed usr
name character ranges breaks actual use cases.

> Please stop using backslashes.

Will do but are you sure you're doing the right thing here?

Should src:adduser also adapt the regexes that define allowed characters
in user names?

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

Reply via email to