aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/shadow/shadow.inc
diff options
context:
space:
mode:
authorShan Hai <shan.hai@windriver.com>2016-09-13 13:45:46 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-16 15:15:32 +0100
commit31c6c8150394de067085be5b0058037077860a8a (patch)
treec1f3e063d63f5c4b65b9a72d1a78768bcf0b985a /meta/recipes-extended/shadow/shadow.inc
parent638ee71da967f093071ba25e0ea5c467dab65339 (diff)
downloadopenembedded-core-contrib-31c6c8150394de067085be5b0058037077860a8a.tar.gz
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>
Diffstat (limited to 'meta/recipes-extended/shadow/shadow.inc')
-rw-r--r--meta/recipes-extended/shadow/shadow.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc
index 5605876988..35a18f8ab0 100644
--- a/meta/recipes-extended/shadow/shadow.inc
+++ b/meta/recipes-extended/shadow/shadow.inc
@@ -22,6 +22,7 @@ SRC_URI = "http://pkg-shadow.alioth.debian.org/releases/${BPN}-${PV}.tar.xz \
SRC_URI_append_class-target = " \
file://login_defs_pam.sed \
file://shadow-update-pam-conf.patch \
+ file://shadow-relaxed-usernames.patch \
"
SRC_URI_append_class-native = " \