From owner-freebsd-security Tue Aug 4 12:55:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA14688 for freebsd-security-outgoing; Tue, 4 Aug 1998 12:55:53 -0700 (PDT) (envelope-from owner-freebsd-security@FreeBSD.ORG) Received: from dt053nd2.san.rr.com (dt053nd2.san.rr.com [204.210.34.210]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA14641 for ; Tue, 4 Aug 1998 12:55:10 -0700 (PDT) (envelope-from Studded@dal.net) Received: from dal.net (Studded@localhost [127.0.0.1]) by dt053nd2.san.rr.com (8.8.8/8.8.8) with ESMTP id MAA05314; Tue, 4 Aug 1998 12:54:16 -0700 (PDT) (envelope-from Studded@dal.net) Message-ID: <35C766E8.1A752074@dal.net> Date: Tue, 04 Aug 1998 12:54:16 -0700 From: Studded Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.05 [en] (X11; I; FreeBSD 2.2.6-STABLE-0507 i386) MIME-Version: 1.0 To: "Bobby S. Wen" CC: security@FreeBSD.ORG Subject: Re: Extending max characters for user names References: <199807290244.KAA11138@cerberus.vasia.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org For future reference, please send questions to freebsd-questions@freebsd.org. Bobby S. Wen wrote: > > Hello, > > I need to increase the maximium characters allowed for user names. When i > use adduser, it limits me to 8. I understand that this is normal in many > implementations. You will need to change a couple files and use "make world" to recompile the system for the larger usernames. Any third party utilities that use usernames like ssh or xterm will also have to be recompiled after the make world is done. The good news is that it works just fine, I have been running -Stable with 16 char usernames for over a year now. In /usr/src/sys/sys/param.h: change MAXLOGNAME to 18 In /usr/src/include/utmp.h: change UT_NAMESIZE to 16 If you need help with the make world, take a look at http://www.freebsd.org/docs.html and click on the Upgrading FreeBSD from source (using make world) tutorial. After you're done with this some utilities like adduser will have to be modified by hand to support the long usernames, but we're working on making these fewer and farther between as time goes on. :) Good luck, Doug -- *** Chief Operations Officer, DALnet IRC network *** When you don't know where you're going, every road will take you there. - Yiddish Proverb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe security" in the body of the message