]> code.ossystems Code Review - openembedded-core.git/commit
shadow: use relaxed usernames
authorShan Hai <shan.hai@windriver.com>
Tue, 13 Sep 2016 05:45:46 +0000 (13:45 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Sep 2016 14:15:32 +0000 (15:15 +0100)
commit31c6c8150394de067085be5b0058037077860a8a
treec1f3e063d63f5c4b65b9a72d1a78768bcf0b985a
parent638ee71da967f093071ba25e0ea5c467dab65339
shadow: use relaxed usernames

The groupadd from shadow does not allow upper case group names, the
same is true for the upstream shadow. But distributions like
Debian/Ubuntu/CentOS has their own way to cope with this problem,
this patch is picked up from CentOS release 7.0 to relax the usernames
restrictions to allow the upper case group names, and the relaxation is
POSIX compliant because POSIX indicate that usernames are composed of
characters from the portable filename character set [A-Za-z0-9._-].

Signed-off-by: Shan Hai <shan.hai@windriver.com>
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/shadow/files/shadow-relaxed-usernames.patch [new file with mode: 0644]
meta/recipes-extended/shadow/shadow.inc