summaryrefslogtreecommitdiffstats
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:24:02 +0100
commit55bb15f791b2fce15bcc1f6a0204206ab1cdc170 (patch)
treea2279eb004dfb58217c1f87820de308b7418ca05 /meta/recipes-extended/shadow/shadow.inc
parent7ba62d65d2dd522559d18a3035a583da2c5ffbff (diff)
downloadpoky-55bb15f791b2fce15bcc1f6a0204206ab1cdc170.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._-]. (From OE-Core rev: 31c6c8150394de067085be5b0058037077860a8a) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 \
22SRC_URI_append_class-target = " \ 22SRC_URI_append_class-target = " \
23 file://login_defs_pam.sed \ 23 file://login_defs_pam.sed \
24 file://shadow-update-pam-conf.patch \ 24 file://shadow-update-pam-conf.patch \
25 file://shadow-relaxed-usernames.patch \
25 " 26 "
26 27
27SRC_URI_append_class-native = " \ 28SRC_URI_append_class-native = " \