Adding a non-english username using useradd
Hi,
I am not able to add a user in japanese language using the useradd command
[root@ssnr28a_01 ~]# useradd 誰か
useradd: invalid user name '誰か'
I am using Red Hat Enterprise Linux Server release 7.4 (Maipo)
I copied the username using google translator.
I also tried setting LANG
[root@ssnr28a_01 ~]# echo $LANG
ja_JP.UTF-8
[root@ssnr28a_01 ~]# useradd 誰か
useradd: '誰か' はユーザ名に使えません
which translates to "invalid user name"
Is username and groupname in non-english not supported?
Thank you
Responses
Hi Dale,
Please see this Red Hat Solution https://access.redhat.com/solutions/30164 where Red Hat has addressed this issue. That being said, if that doesn't seem to work for you, consider entering a case with Red Hat regarding this, maybe they know of something beyond what that link I provided offers.
Kind Regards,
RJ
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
