From owner-freebsd-stable Thu Aug 27 14:09:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA00717 for freebsd-stable-outgoing; Thu, 27 Aug 1998 14:09:13 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from dt053nb4.san.rr.com (dt053nb4.san.rr.com [204.210.34.180] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA00693 for ; Thu, 27 Aug 1998 14:09:01 -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 OAA08295; Thu, 27 Aug 1998 14:07:57 -0700 (PDT) (envelope-from Studded@dal.net) Message-ID: <35E5CAAD.97F3A163@dal.net> Date: Thu, 27 Aug 1998 14:07:57 -0700 From: Studded Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.06 [en] (X11; I; FreeBSD 2.2.7-STABLE-0823 i386) MIME-Version: 1.0 To: Nathan Dorfman CC: freebsd-stable@FreeBSD.ORG Subject: Re: Bumping MAXLOGNAME? References: <19980826153806.A4191@fcc.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Nathan Dorfman wrote: > > Is it safe to bump MAXLOGNAME in sys/param.h and expect to have 16 > character usernames? We already have a good number of customers with usernames > with lengths between 8 and 16 and need our new FreeBSD machines to understand > these usernames. As -current runs with MAXLOGNAME==17, I don't see a problem > with doing this on a -stable machine. Is there anywhere else I might need > to change this, or any pitfalls I am missing? Here's my standard response. The convo about stdio.h might be important as well, stay tuned. :) Doug 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 and rmuser 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-stable" in the body of the message