Change-Id: Ieb8056ed9929b332681b796fbd634d341b833ca8
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2543
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Alexey Makhalov <amakhalov@vmware.com>
... | ... |
@@ -1,6 +1,6 @@ |
1 |
-+++ shadow-4.1.5.1/libmisc/chkname.c 2015-12-15 16:07:01.071982033 -0800 |
|
2 |
-@@ -52,12 +52,13 @@ |
|
1 |
+--- a/libmisc/chkname.c 2014-05-08 01:43:11.000000000 -0700 |
|
2 |
+@@ -52,15 +52,17 @@ |
|
3 | 3 |
* User/group names must match [a-z_][a-z0-9_-]*[$] |
4 | 4 |
*/ |
5 | 5 |
if (('\0' == *name) || |
... | ... |
@@ -15,3 +15,7 @@ |
15 | 15 |
( ('0' <= *name) && ('9' >= *name) ) || |
16 | 16 |
('_' == *name) || |
17 | 17 |
('-' == *name) || |
18 |
++ ('.' == *name) || |
|
19 |
+ ( ('$' == *name) && ('\0' == *(name + 1)) ) |
|
20 |
+ )) { |
|
21 |
+ return false; |
... | ... |
@@ -1,7 +1,7 @@ |
1 | 1 |
Summary: Programs for handling passwords in a secure way |
2 | 2 |
Name: shadow |
3 | 3 |
Version: 4.2.1 |
4 |
-Release: 11%{?dist} |
|
4 |
+Release: 12%{?dist} |
|
5 | 5 |
URL: http://pkg-shadow.alioth.debian.org/ |
6 | 6 |
License: BSD |
7 | 7 |
Group: Applications/System |
... | ... |
@@ -138,6 +138,8 @@ make %{?_smp_mflags} check |
138 | 138 |
%defattr(-,root,root) |
139 | 139 |
|
140 | 140 |
%changelog |
141 |
+* Thu Apr 27 2017 Divya Thaluru <dthaluru@vmware.com> 4.2.1-12 |
|
142 |
+- Allow '.' in username |
|
141 | 143 |
* Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 4.2.1-11 |
142 | 144 |
- BuildRequires Linux-PAM-devel |
143 | 145 |
* Wed Nov 23 2016 Alexey Makhalov <amakhalov@vmware.com> 4.2.1-10 |