From owner-freebsd-hackers Wed May 29 19:44:16 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA18770 for hackers-outgoing; Wed, 29 May 1996 19:44:16 -0700 (PDT) Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.109.160]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id TAA18601 for ; Wed, 29 May 1996 19:43:56 -0700 (PDT) Received: (from jgreco@localhost) by brasil.moneng.mei.com (8.7.Beta.1/8.7.Beta.1) id VAA02832; Wed, 29 May 1996 21:42:28 -0500 From: Joe Greco Message-Id: <199605300242.VAA02832@brasil.moneng.mei.com> Subject: Re: 8 character login limit To: rb@gid.co.uk (Bob Bishop) Date: Wed, 29 May 1996 21:42:28 -0500 (CDT) Cc: randy@zyzzyva.com, hackers@freebsd.org In-Reply-To: from "Bob Bishop" at May 29, 96 11:48:48 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > At 1:01 pm 29/5/96, Randy Terbush wrote: > >Can anyone shed some light on the reasons for this limit? "Historical". Given that people have traditionally wanted to break this limit for aesthetic reasons, it's never been of great importance to break such a basic fundamental parameter in UNIX. > >After a quick look, it would appear that the only thing that > >trips on this limit is 'login'. I have not checked the getpw*() > >functions. Check your applications. > >Is it out of the question to remove this restriction? > > > >Comments? > > A while ago, I had occasion to do a closely-related exercise to increase > the significant password length on one of the mainstream commercial Unixes > (no names, no litigation (I hope!) but it came from BSD4.x originally). You > really wouldn't believe the ramifications. Unless the code has cleaned > itself up a lot in the meanwhile I'd have to rate this as quite a Big Deal. It breaks Lots Of Things. Including various portions of the OS where the "8" constant is assumed or coded without use of a macro, or an integral part of a protocol (NIS, etc). Including precompiled applications. Including most legacy code. Printf formats with %8s in them. char uname[8]'s. All sort of assumptions. Sound like fun yet? Folks I have talked to generally consider this either to be an exercise for the bored, desperate, or stupid. Since I have never actually heard a good reason for someone to want to do this, I have a little bit of a problem picturing why it becomes such an issue every once in a while :-) The not-good reason people always seem to try to give is "e-mail addresses", but the reality is that Sendmail already can deal with it if you want it to. I can map Joe.Greco@ns.sol.net -> jgreco@ns.sol.net for inbound and jgreco@*.sol.net -> Joe.Greco@ns.sol.net for outbound It's not hard. I have a real hard time picturing any other need for this... (not to say that a valid reason doesn't exist, but..) To be honest, FreeBSD (and 4.4BSD in general) has done a good job of isolating a lot of this and using UT_NAMESIZE. ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/546-7968