Date: Wed, 3 Jun 1998 18:36:54 -0500 From: "Scot W. Hetzel" <hetzels@westbend.net> To: "FreeBSD" <freebsd@cavecreek.net> Cc: <FreeBSD-questions@FreeBSD.ORG>, <isp@FreeBSD.ORG> Subject: Re: MAXLOGNAME and UT_NAMESIZE Message-ID: <02f801bd8f48$7e67efc0$c3e0d9cf@admin.westbend.net>
index | next in thread | raw e-mail
[-- Attachment #1 --]
From: FreeBSD <freebsd@cavecreek.net>
>The standard for FreeBSD 2.2.x is set to 8. I have changed UT_NAMESIZE and
>MAXLOGNAME in ALL .h files (/usr/include/sys/utmp.h etc... etc)
>and I recompiled chown.c and getpwent.c and passwd.c
>
>but still I get : chown: <the_login_id>: illegal user name
>
>when <the_login_id> exceeds 8 chars.
>
>Any ideas anyone ? I need a maximum of 17 chars in a login ID.
It seems to work here.
Did you do a "make world", and re-build the kernel?
As I believe, this change also affects other programs and libraries.
I have been using the attached patches on my 2.2.x-STABLE sources for long
user names. These patches are designed to be placed one directory lower in
the src tree (i.e. /usr/src/patches ). Then to update your sources and keep
long user names, you do the following:
make update
( cd /usr/src/patches/usersize16 ; make )
make world
Scot
[-- Attachment #2 --]
u5 YoFί_D$PЄKڪZ ZcSF;3N t[B֟w̛'1
GoPD]U(G%h4YE"G"y:z
u5i;FTSGH/jI
"ޓ
?80u\X-۫琟~3ֻW'Be%wA?= {jҏLܬ}/_VfsLhxްn<xg<;GӞA/AȐƓ6GX\/f{PO0hi[G[-/
Xl4[,G[-G&,km0-c'BryF_^)~kG{>~`WDQt-
_˪&7(Id 89*,JXe@:'<!KHJH-!Jls='
|9=N<܉m,0\DZcOMw1L?l m c俋a<f2g)Z؞SfHm6pm";`z`9
E
l|3;L>{x,zh!˟!55jX$vY<rr?ȑ7{/;>|G"+(Cr *bH2EB%YOi\[lZ8qcg0 0r/F%fկu;,=i&.dNDHTúz}*7kZ[̴+%|:
Un<Ɗ,߰xt1<%[rq/SuG|"J݄=r=M~m:@tu%sK#Nj7M$'ob'S4FR{Pg@KE*3ՒRb 1sj4aի{AR#IvȒsL&*:zk-=2Tw$0RΓGM-H%K
NK3=gXG#p#@>Z7н]iE?hF]ϲ_K=-JqxV~e
_
@y!(pXPrkI_\eɯUA*lJVOV|{|)bko7^)RH"E)?"{ (
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?02f801bd8f48$7e67efc0$c3e0d9cf>
