From owner-freebsd-questions Thu Aug 22 09:54:28 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA28323 for questions-outgoing; Thu, 22 Aug 1996 09:54:28 -0700 (PDT) Received: from main.gbdata.com (GB2.Brewich.COM [207.90.222.20]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id JAA28309 for ; Thu, 22 Aug 1996 09:54:23 -0700 (PDT) Received: (from gclarkii@localhost) by main.gbdata.com (8.7.5/8.6.9) id LAA10275; Thu, 22 Aug 1996 11:53:46 -0500 (CDT) From: Gary Clark II Message-Id: <199608221653.LAA10275@main.gbdata.com> Subject: Re: Username Length.... To: dgy@rtd.com (Don Yuniskis) Date: Thu, 22 Aug 1996 11:53:45 -0500 (CDT) Cc: branson@widomaker.com, FreeBSD-Questions@freebsd.org In-Reply-To: <199608151340.GAA18857@seagull.rtd.com> from Don Yuniskis at "Aug 15, 96 06:40:00 am" X-Mailer: ELM [version 2.4ME+ PL22 (25)] 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 Don Yuniskis wrote: > > 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. > One thing that I've ran into when running mixed systems (FreeBSD and BSDI) is that BSDI does allow long (16) user names and I've had to adjust for this. You either recompile all or tell you admin people to NOT allow longer than 8 characters. Gary -- Gary Clark II (N5VMF) | I speak only for myself and "maybe" my company gclarkii@GBData.COM | Member of the FreeBSD Doc Team Providing Internet and ISP startups mail info@GBData.COM for information FreeBSD FAQ at ftp://ftp.FreeBSD.ORG/pub/FreeBSD/docs/freebsd-faq.ascii