usermod -l rejects a name starting with a digit
维护者通常 1 天内回复
@pierre-warnier 已经在做这个了。
开始于 2026年11月3日。
评估
调研方向
The bug is in the shared name check in shadow-core that rejects a leading digit, which usermod -l hits; start by reproducing usermod -l 0abc USER and reading that validation function. Any change affects useradd and groupadd too, so probe each tool against upstream shadow before editing the check. Done means usermod -l accepts the name, the other tools' behaviour matches upstream, and tests cover both.
由索引模型根据 Issue 内容生成。
描述
usermod -l 0abc USER exits 3. Upstream accepts the name. The shared name check in shadow-core rejects a leading digit, so changing it affects useradd, groupadd and the other tools: probe each against upstream before changing the check.
Reference: Ubuntu 26.04 passwd 1:4.17.4-2ubuntu3. shadow-rs: main at a4023b5.
- 主要语言
- Rust
- 星标
- 18
- 派生
- 10
- 平均合并
- 22 小时 17 分钟
- 30 天内合并 PR
- 37
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
uutils/shadow 的其他 Issue
-
chfn: writes five GECOS fields, GNU writes four when "other" is empty可能已有人在做 @pierre-warnier 于 4 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 64/100
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 45/100
维护者通常 1 天内回复
-
chage -E, usermod -e: dates other than YYYY-MM-DD are rejected可能已有人在做 @pierre-warnier 于 4 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 62/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 20/100
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
pop-os/cosmic-applets#1619 ·
维护者通常 3 天内回复
-
binding:python bug
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 78/100
coollabsio/orbit#72 ·
维护者通常 1 天内回复
-
swc_common: Mark::least_ancestor never returns when the answer is the root mark (ANT-2026-JYDQGGRT)未关闭
难度 2/5 1-3 小时 新手友好度 72/100
swc-project/swc-ai-issues#137 ·
-
Synth suite fails unless run from the repo root: signal_flow's default machine path is cwd-relative未关闭bug
难度 2/5 1-3 小时 新手友好度 80/100
Nimblesite/osprey#370 ·
维护者通常 1 天内回复