blob: 552c5eea9075c6641d7db895016a7b24bb231230 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- shadow-4.1.3/libmisc/chkname.c
+++ shadow-4.1.3/libmisc/chkname.c
@@ -61,6 +61,7 @@
( ('0' <= *name) && ('9' >= *name) ) ||
('_' == *name) ||
('-' == *name) ||
+ ('.' == *name) ||
( ('$' == *name) && ('\0' == *(name + 1)) )
)) {
return false;
|