From owner-freebsd-questions Fri Nov 24 15:02:04 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id PAA29797 for questions-outgoing; Fri, 24 Nov 1995 15:02:04 -0800 Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id PAA29787 for ; Fri, 24 Nov 1995 15:01:58 -0800 Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id PAA10514; Fri, 24 Nov 1995 15:58:33 -0700 From: Terry Lambert Message-Id: <199511242258.PAA10514@phaeton.artisoft.com> Subject: Re: usernames > 8 chars To: gcrutcher@datatrek.com (Gary Crutcher) Date: Fri, 24 Nov 1995 15:58:33 -0700 (MST) Cc: freebsd-questions@FreeBSD.org In-Reply-To: <199511241913.LAA10578@dtihost.datatrek.com> from "Gary Crutcher" at Nov 24, 95 11:13:07 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 816 Sender: owner-questions@FreeBSD.org Precedence: bulk > > I have changed a few defines to allow user names > 8 chars and rebuilt my > kernel. I also changed the adduser script. I can chgrp, but cannot chown. > I get an illegal user name error. Also, I cannot login with the new name. > > Did I forget to do something? Yeah. You have to rebuild everything that use the pwent structure. The easiest thing to do is to rebuild everything. One of the constants is the length of the name field in the struct. The other thing you forot was to kiss NIS goodbye, sinc it has some wire traffic specific limits on how big a name can be. So if you expect to interoperate with anyone else's NIS implementation, you'll be out of luck. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.