From owner-freebsd-questions Thu Jan 1 13:23:41 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA09435 for questions-outgoing; Thu, 1 Jan 1998 13:23:41 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from proxyb2.san.rr.com (proxyb2-atm.san.rr.com [204.210.0.11]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA09424 for ; Thu, 1 Jan 1998 13:23:38 -0800 (PST) (envelope-from Studded@dal.net) Received: from dal.net (dt051n19.san.rr.com [204.210.32.25]) by proxyb2.san.rr.com (8.8.7/8.8.8) with ESMTP id NAA10595; Thu, 1 Jan 1998 13:23:00 -0800 (PST) Message-ID: <34AC0935.974F0C72@dal.net> Date: Thu, 01 Jan 1998 13:23:01 -0800 From: Studded X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.5-STABLE i386) MIME-Version: 1.0 To: Skip Watson CC: freebsd-questions@FreeBSD.ORG Subject: Re: long login names References: <259ea977.u8t20e.8e6b1-freebsd@phoenix.aldhfn.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Skip Watson wrote: > > I thought that I had read (rather some time ago) that long login > names were usable. Is it true? If so how do I set it up. We get a lot of > requests from new users for names that are longer than 8 characters. If you run -Current the capacity is built in. Since you're asking the question, I'll assume you're running -Stable. What you want is not impossible, but you will have to do some work to get it. There are parameters you need to change in two files. In /sys/sys/param.h change MAXLOGNAME to 18. In /usr/src/include/utmp.h change UT_NAMESIZE to 16. Now you need to rebuild your entire system using the "make world" approach. Help for this is available on a web page where I rewrote the out of date tutorial that's on www.freebsd.org. The URL is http://home.san.rr.com/freebsd/upgrade.html. Make sure that you change these two values each time you update your sources. The values I have here will give you access to 16 character usernames. Once the make world is complete, you will want to recompile anything that you've installed locally that access wtmp (like sshd and xterm to quote the most common culprits) and any other local package that is having trouble. You will find more info by taking advantage of the mail archives at http://www.freebsd.org/search.html, which is always a good place to start anyway. :) Good luck, Doug