[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Maximum characters in username

Matthew Thompson <mattyt@oz.net> writes:

> Ok, here's my silly, newbie-esque question for the week:  how many
> characters are allowed in a username?  I'm under the impression that it is
> 8, but 'adduser' allows you to create users with more characters than
> that.

A year or more ago, I had a username of 9 characters.  Everything
worked fine except at.  IIRC, I found something in its source code
that assumed a username length <= 8 characters.  So the moral is that
long usernames are OK, but there are probably still some programs that
make poor assumptions.  Expect trouble, and you will not be

For by grace you have been saved through faith, and that not of
yourselves; it is the gift of God, not of works, lest anyone should

Reply to: