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

Re: Username length limit?



On Thu, 3 Jun 2004 14:21:08 +0200, Lukas Ruf <ruf@rawip.org> wrote:

> however, to be really safe and compatible with "older" software
> make use of 8 characters only.  For example, older Solaris versions
> cause strange errors if you exceed.
> 
> wbr,
> Lukas

Linux Admin FAQ:

6.17 What is the maximum username length, and is there way to extend it? 

No. Username length It's not configurable. Under libc-5, the utmp and
wtmp files only allow 8 characters for a username. Under libc-6, this
is increased to 32 characters.

You can use usernames longer than this limit. However, the utmp/wtmp
entries will be truncated, and so won't correspond to a valid
username. This doesn't matter for most things.



Reply to: