pure number allowed as username in the useradd command?

Tom H tomh0665 at gmail.com
Fri Dec 3 09:56:35 UTC 2010


On Fri, Dec 3, 2010 at 3:38 AM, Hiisi <saippua5 at gmail.com> wrote:
> pe, 2010-12-03 kello 02:04 -0500, Tom H kirjoitti:
>> I've always assumed that Linux had the same restrictions but "man 5
>> passwd" on my F14 box yields nothing so I've just googled and the only
>> restriction that
>> http://www.kernel.org/doc/man-pages/online/pages/man5/passwd.5.html
>> sets is "It should not contain capital letters".
>
> Probably it's not a restriction but just a recommendation.
> ]$ whoami
> Sampo

True. I've just checked "man 5 passwd" on a Debian sid VM and it
doesn't have the "capital letters" text. (I had to install man-pages
to get the passwd(5) manpage. It's strange that a Fed Live CD install
doesn't include it. I presume that it's to make space.)


More information about the users mailing list