Date: Sat, 20 May 95 13:37:12 MDT From: terry@cs.weber.edu (Terry Lambert) To: procecorjb@Vir.com (Robert Burns) Cc: questions@FreeBSD.org Subject: Re: MAXIMUM user name length? Message-ID: <9505201937.AA06319@cs.weber.edu> In-Reply-To: <Pine.BSF.3.91.950520144741.1223A-100000@zeta> from "Robert Burns" at May 20, 95 02:54:09 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> What is the limitation in a user name length? 8 characters. > Adduser and vipw allow me to enter a user name of 10 chars > but it is not recognized by either the chpass command or the > login prompt. When I reduce the length to 8 characters, everthing > is ok. Is this a limitation? It is. > Can it be changed? If you are willing to recompile all tools that use getpwent() and related routines after changing sys/param.h. This includes xterm. At the same time, you will be breaking NIS interoperability with older systems, since 8 characters is a historical limit that will still be present on other machines (for instance, Sun machines). When an ISP sets up, typically they will have several machines and an address rotor using the newer bind code to attempt to balance the system load. Also, typically, there will be an NIS database in common between the machines, so that logins will work. If you are soing this in support of users as an ISP instead of on a whim, you may want to reconsider the advisability of making the change. Terry Lambert terry@cs.weber.edu --- Any opinions in this posting are my own and not those of my present or previous employers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9505201937.AA06319>