I want to create Unicode logins for *Unix flavor OS, when i use useradd like below, I got that user name is invalid
[root@mail ~]# useradd ياسين useradd: invalid user name 'ياسين
Check your systems documentation on what usernames are allowed. Eg.:
On my Debian 10 in the section CAVEATS there I read this:
It is usually recommended to only use usernames that begin with a lower case letter or an underscore, followed by lower case letters, digits, underscores, or dashes. They can end with a dollar sign. In regular expression terms: [a-z_][a-z0-9_-]*[$]?
On Debian, the only constraints are that usernames must neither start with a dash ('-') nor plus ('+') nor tilde ('~') nor contain a colon (':'), a comma (','), or a whitespace (space: ' ', end of line: '\n', tabulation: '\t', etc.). Note that using a slash ('/') may break the default algorithm for the definition of the user's home directory.