aboutsummaryrefslogtreecommitdiffstats
path: root/testing/shadow/dots-in-usernames.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/shadow/dots-in-usernames.patch')
-rw-r--r--testing/shadow/dots-in-usernames.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/shadow/dots-in-usernames.patch b/testing/shadow/dots-in-usernames.patch
new file mode 100644
index 00000000000..b684c9d02fc
--- /dev/null
+++ b/testing/shadow/dots-in-usernames.patch
@@ -0,0 +1,11 @@
+--- shadow-4.1.3/libmisc/chkname.c
++++ shadow-4.1.3/libmisc/chkname.c
+@@ -66,6 +66,7 @@
+ ( ('0' <= *name) && ('9' >= *name) ) ||
+ ('_' == *name) ||
+ ('-' == *name) ||
++ ('.' == *name) ||
+ ( ('$' == *name) && ('\0' == *(name + 1)) )
+ )) {
+ return false;
+