Date: Thu, 05 Dec 1996 10:30:55 -0800 From: Paul Traina <pst@shockwave.com> To: Peter Wemm <peter@spinner.dialix.com> Cc: "Andrey A. Chernov" <ache@freefall.freebsd.org>, jkh@freefall.freebsd.org (Jordan K. Hubbard), CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-include@freefall.freebsd.org Subject: Re: cvs commit: src/include utmp.h Message-ID: <199612051830.KAA03742@precipice.shockwave.com> In-Reply-To: Your message of "Thu, 05 Dec 1996 22:58:26 %2B0800." <199612051458.WAA08975@spinner.DIALix.COM>
next in thread | previous in thread | raw e-mail | index | archive | help
From: Peter Wemm <peter@spinner.dialix.com> Subject: Re: cvs commit: src/include utmp.h "Andrey A. Chernov" wrote: > > jkh 96/12/04 03:30:17 > > > > Modified: include utmp.h > > Log: > > Bump maximum username length to 16 characters. This brings us into > > line with BSD/OS and Linux's username limits, making transitioning from > > either operating system a lot easier than it is now. I'm currently > > running with this change on my system, as are several others, and have > > experienced no ill effects. > > I hear BSDI increase UT_HOSTSIZE to 32, do we plan to make similar change? > (I don't have BSDI box to be shure) Yes, BSDI have gone to user=16,line=8,host=32. I would very much like this as well, but I'd also like to suggest we pluck a leaf from the SunOS/SYSV/Linux book and take a couple of extra fields as well. I would like to see: ut_pid (pid of session. This is painful to work around not having!) ut_type (some sort of type-of-record code to replace the "magic" characters in some of the username or tty fields.) ut_hostid (normally an in_addr type of entry so that we can always find the originating host without having to bogusly interpret or convert ut_host to/from hostnames and dotted-quad IP addresses.) ut_host (increased to pad out the record size to a convenient power of 2) PHK was also suggesting a field for remoute user (when available) for use with things like ssh and kerberos (and, for that matter, rlogind). If we're going to change utmp (and break binaries in the process), then let's do it ONCE. I don't see a mirror image of the BSDI file format as particularly important, in all my travels, I've never seen an application (read: non-system) binary that uses the utmp file, except on my SVR3 days. I think Garrett expressed a desire to have a 'version' field somewhere. Yes, please (tm) ! Cheers, -Peter
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612051830.KAA03742>