I have just installed Ubuntu Server, through the standard cli menu driven interface and it prompted me to create a new account.
Attempting to create my numerical user (e.g. 12345), I got an "Invalid Username" error, specifying that the username must start with a lower-case letter.
So I created an alternative username and logged in no problem.
Then as the root user I used the useradd command to create my prefered numerical username, and it created it with no errors or comments.
After checking the /etc/adduser.conf configuration file, I found that although there was the NAME_REGEX="^[a-z]..." entry, it was commented out, therefore, not the default.
So why enforce it upon installation when it is not the default setting, causing me to have to go through this routine every-time I install it?
Is there an alternative way to force a numerical user upon installation or do I need to investigate the kickstart option?
Unfortunately my username has to be numerical as enforced through my clients policy.
chownlet you use numerical user/group ids interchangeably with textual user/group names. – Ulrich Schwarz Oct 08 '14 at 13:30ubuntutag? – geedoubleya Oct 08 '14 at 13:59