logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git

shadow-4.1.3-dots-in-usernames.patch (302B)


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