Date: Thu, 01 Jan 1998 13:23:01 -0800 From: Studded <Studded@dal.net> To: Skip Watson <freebsd@phoenix.aldhfn.org> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: long login names Message-ID: <34AC0935.974F0C72@dal.net> References: <259ea977.u8t20e.8e6b1-freebsd@phoenix.aldhfn.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34AC0935.974F0C72>