From owner-freebsd-stable Mon Mar 22 5:43:21 1999 Delivered-To: freebsd-stable@freebsd.org Received: from pi.yip.org (yip.org [142.154.6.140]) by hub.freebsd.org (Postfix) with ESMTP id AC9CB14F26 for ; Mon, 22 Mar 1999 05:43:07 -0800 (PST) (envelope-from melange@yip.org) Received: from localhost (melange@localhost) by pi.yip.org (8.9.2/8.9.2) with ESMTP id IAA15268 for ; Mon, 22 Mar 1999 08:43:56 -0500 (EST) (envelope-from melange@yip.org) Date: Mon, 22 Mar 1999 08:43:56 -0500 (EST) From: Bob K To: freebsd-stable@freebsd.org Subject: 24-character usernames? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I recently wanted to try out 24-character usernames on my system. So, following the man page for adduser, I changed UT_NAMESIZE in /usr/include/utmp.h to 24 from the default of 16. I then changed MAXLOGNAME in /usr/include/sys/param.h to 25, as per the comments in both utmp.h and param.h. I then made buildworld && make installworld (-j4 -O -pipe only) and a new kernel (-O -pipe), and then built the various ports that would need it. Well, adduser still would complain about usernames more than 16 characters. As an added bonus, I began seeing odd things with w and who, such as: 8:32AM up 21:32, 2 users, load averages: 1.40, 1.07, 0.63 USER TTY FROM LOGIN@ IDLE WHAT nistor p3 snickers:ttyp6:S 31Dec69 9:03 -tcsh (tcsh) melange p6 ttyp4 31Dec69 - screen -r (screen-3.7.6) pi# who nistor ttyp3 Dec 31 22:25 (snickers:ttyp6:S) melange ttyp6 Dec 31 19:00 (ttyp4) pi# Note a) the login date, and b) how user nistor is now logged in from snickers:ttyp6:S rather than snickers.org. I've also seen at the top of the output things such as w://ttyp4:S.0: no such file or directory (but this only happens once in a while). Sources were originally from March 12th. I cvsupped on March 18th and made world again to see if it was just a temporary bug. Same deal (although when I made installworld, it did clobber the changes to utmp.h and sys/param.h). Has anyone else seen this? Is this just pilot error? It's an SMP system, although I'd be extremely suprised if that made a difference with this. If anyone wants more info, just ask and ye shall receive... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message