I need to create users with periods in their names on CentOS7.
For example, [email protected]. It looks like this is technically supported but adduser
/useradd
have a regex which is preventing this. I've seen people suggest creating them without the periods and then manually adding them in /etc/passwd
/etc/shadow
etc. I need to create them in a script so any manual process is no bueno.
It looks like this is possible on Ubuntu as it provides /etc/adduser.conf
which externally defines the regex used by adduser so that one can customize the behavior.
Any thoughts on how to do this or tools? Dr. Google has failed me :-)