From owner-freebsd-questions Sat Aug 22 15:16:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA11598 for freebsd-questions-outgoing; Sat, 22 Aug 1998 15:16:13 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dt053nb4.san.rr.com (dt053nb4.san.rr.com [204.210.34.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA11592 for ; Sat, 22 Aug 1998 15:16:06 -0700 (PDT) (envelope-from Studded@dal.net) Received: from dal.net (Studded@localhost [127.0.0.1]) by dt053nb4.san.rr.com (8.8.8/8.8.8) with ESMTP id PAA07644; Sat, 22 Aug 1998 15:15:14 -0700 (PDT) (envelope-from Studded@dal.net) Message-ID: <35DF42F2.19A60545@dal.net> Date: Sat, 22 Aug 1998 15:15:14 -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: Doug White CC: Alex Helbig , freebsd-questions@FreeBSD.ORG Subject: Re: Increasing Login ID Length References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Doug White wrote: > > On Mon, 10 Aug 1998, Alex Helbig wrote: > > > A quick search of the mail archives results in > > > What limits the length of user logins to 8 characters and how might this > > > be changed? We need 15 or more. > > > > Modify the header file and rebuild the world. > > > > --------end snip > > > > Q. Which header files need to be modified in 2.2.7-RELEASE? > > You don't want to do this. It has larger ramifications than you may be > aware of. Use -CURRENT if you really need long usernames. I don't know why people keep trying to scare users away from this. I have used 16 char usernames in -Stable for a year now, and it works just fine. Here is my standard response, hope it helps. Doug -- *** Chief Operations Officer, DALnet IRC network *** When you don't know where you're going, every road will take you there. - Yiddish Proverb 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. 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. :) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message