This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -up shadow-4.1.5.1/libmisc/chkname.c.goodname shadow-4.1.5.1/libmisc/chkname.c | |
--- shadow-4.1.5.1/libmisc/chkname.c.goodname 2009-07-13 00:24:45.000000000 +0200 | |
+++ shadow-4.1.5.1/libmisc/chkname.c 2012-09-19 18:43:53.492160653 +0200 | |
@@ -49,20 +49,28 @@ | |
static bool is_valid_name (const char *name) | |
{ | |
/* | |
- * User/group names must match [a-z_][a-z0-9_-]*[$] | |
- */ | |
- if (('\0' == *name) || |