View Single Post

   
  #2 (permalink)  
Old 02-16-2008, 05:29 AM
Ted Unangst
 
Posts: n/a
Default Re: username: maximum length and valid characters

On 7 Apr 2004, Zoong Pham wrote:

> What is the maximum length for usernames?
> And what are valid characters for usernames


man 5 passwd:
The login name may be up to 31 characters long. For compatibility
with
legacy software, a login name should start with a letter and consist
solely of letters, numbers, dashes and underscores. The login name
must
never begin with a hyphen (`-'); also, it is strongly suggested that
nei-
ther uppercase characters nor dots (`.') be part of the name, as this
tends to confuse mailers.


--

Reply With Quote