From owner-freebsd-questions Thu Aug 15 06:40:40 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA07717 for questions-outgoing; Thu, 15 Aug 1996 06:40:40 -0700 (PDT) Received: from seagull.rtd.com (root@seagull.rtd.com [198.102.68.2]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id GAA07710 for ; Thu, 15 Aug 1996 06:40:38 -0700 (PDT) Received: (from dgy@localhost) by seagull.rtd.com (8.7.5/8.7.3) id GAA18857; Thu, 15 Aug 1996 06:40:00 -0700 (MST) From: Don Yuniskis Message-Id: <199608151340.GAA18857@seagull.rtd.com> Subject: Re: Username Length.... To: branson@widomaker.com (Branson Matheson) Date: Thu, 15 Aug 1996 06:40:00 -0700 (MST) Cc: FreeBSD-Questions@freebsd.org In-Reply-To: <199608151307.JAA03808@garion.hq.ferg.com> from "Branson Matheson" at Aug 15, 96 09:07:35 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Ok.. I figured out how to get the username length to 11 characters. > You have to change in /usr/include/utmp.h: > > #define UT_NAMESIZE 8 > to > #define UT_NAMESIZE 11 > > because in /usr/include/sys/param.h: > > /* MAXLOGNAME should be >= UT_NAMESIZE (see ) */ > #define MAXLOGNAME 12 /* max login name length */ > > and rebuild the clibs and associated programs ( make world gets them > all ). but my question is this... what is the reason for keeping it > at 8 characters?!? I know that there may be problems with ls.. and I > am contemplating patching that.. but what other problems would I > encounter? Because *other* programs assume this also. Consider rebuilding world and all ports, etc. And if your box talks to *other* boxes that *don't* know about your "enhancement", LOSE LOSE... This has been covered *several* times in the past. Check the mailing list archives. --don