commit | e0d8009d76b3a2451cb6c6ed2b241c7eff06ed60 | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Fri Sep 26 18:49:44 2014 -0500 |
committer | Rob Landley <rob@landley.net> | Fri Sep 26 18:49:44 2014 -0500 |
tree | f2904430b0cb86f7b7a2721ae2ddd60fcf727166 | |
parent | e1fa787be8d0d66c9860c86dcb80fd6e096f74e0 [diff] |
The only illegal characters in a username are ":" (field separator), "\n" (line separator), and "/" (filename separator). Restricting usernames to the legacy posix character allowed set (for filenames, so the $HOME directory is creatable on VFAT and similar) means you can't have UTF-8 usernames. Linux allows any character but / and NUL in filenames. Since root is creating these entries, we assume root knows what it's doing.