From owner-freebsd-questions Fri Aug 3 6:44:18 2001 Delivered-To: freebsd-questions@freebsd.org Received: from caladan.tdx.co.uk (caladan.tdx.co.uk [195.188.177.4]) by hub.freebsd.org (Postfix) with ESMTP id AB17237B403 for ; Fri, 3 Aug 2001 06:44:13 -0700 (PDT) (envelope-from kpielorz@tdx.co.uk) Received: from geko (geko-tx.dmpriest.com [62.13.131.250]) by caladan.tdx.co.uk (8.11.4/8.11.4/Kp) with ESMTP id f73DmCO83319; Fri, 3 Aug 2001 14:48:12 +0100 (BST) Date: Fri, 03 Aug 2001 15:03:49 +0100 From: Karl Pielorz To: Byron Schlemmer , freebsd-questions@FreeBSD.ORG Subject: Re: 16 Character or longer usernames Message-ID: <53070641.996851028@geko> In-Reply-To: References: X-Mailer: Mulberry/2.1.0b3 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 03 August 2001 14:40 -0400 Byron Schlemmer wrote, > I'm having problems getting FreeBSD to accept longer than 16 character > usernames. I've come across the following hack L > > I edit the following file : > > /usr/src/sys/sys/param.h : > #define MAXLOGNAME 17 /* max login name length (incl. NUL) */ > and > /usr/src/include/utmph : > #define UT_NAMESIZE 16 /* see MAXLOGNAME in */ > > Then I do a make world. > > The above values seem to work as far as adding users go but I noticed > this little problem : > > [byrons@localhost byrons]$ top > kvm_open: proc size mismatch (40128 total, 1104 chunks) > top: Out of memory. Make sure you rebuild the kernel, once you've rebuilt the world - if the two get out of sync, you'll see errors like this... -Kp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message