Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 1997 19:24:04 -0700 (MST)
From:      Marc Slemko <marcs@znep.com>
To:        current@freebsd.org
Subject:   size of L_cuserid in -current
Message-ID:  <Pine.BSF.3.95.970228180723.18933B-100000@alive.znep.com>

next in thread | raw e-mail | index | archive | help
>From what I see, L_cuserid in sys/include/stdio.h is set to 9 in -current. 
The comment says UT_NAMESIZE + 1.  UT_NAMESIZE is 16.  Are there other
broken things that are holding back the change or am I missing something? 

And adduser in 2.2 allows names > 16... accidently brought in by mpp with
some other merges on 96/12/22 18:10:01?

...just going through to see what changes have been made in -current so I
can apply a local patch to 2.2 to have long usernames.

What I have noticed has been changed in -current to deal with long
usernames:

	- UT_NAMESIZE in utmp.h
	- bugfix in getty/main.c
	- off-by-one in kern/kern_prot.c
	- MAXLOGNAME in param.h
	- e_spare[4] -> 3 in user.h
	- adduser/rmuser
	- w
	- rwho
	- finger/sprint.c
	- last


Other things that need to be recompiled, other than stuff done by make
world:

	- xterm
	- xdm
	- sshd
	- rxvt

If you notice anything I'm missing, please let me know.

And, of course, old utmp and wtmp files don't work.  If anyone wants, I
can make the trivial (but sometimes annoying to find) patches against the
2.2 tree available when I'm done... 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.970228180723.18933B-100000>