So why has the underscore been considered a bad character for user names in Debian (and possibly other distributions) while it has been removed from adduser's NAME_REGEX in Ubuntu?
|
|
|||
|
|
|
A similar question has already been answered here Theoretically you can use almost any ASCII character you want as username, but, to avoid some kind of bugs, like to one mentioned in the above article, you can set that regular expression that avoid certain issues. I hope it helps... |
|||||
|
|
POSIX specifies the usage of a portable set of characters for user and group names. Adding this restriction avoids interference with other system tools, which may interpret special characters. Think of the variable
The directories Edit: |
||||
|
I'm using Debian Squeeze and I managed to create a user with underscore, |
|||||||
|