Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Aug 1996 06:40:00 -0700 (MST)
From:      Don Yuniskis <dgy@rtd.com>
To:        branson@widomaker.com (Branson Matheson)
Cc:        FreeBSD-Questions@freebsd.org
Subject:   Re: Username Length....
Message-ID:  <199608151340.GAA18857@seagull.rtd.com>
In-Reply-To: <199608151307.JAA03808@garion.hq.ferg.com> from "Branson Matheson" at Aug 15, 96 09:07:35 am

next in thread | previous in thread | raw e-mail | index | archive | help
>  Ok.. I figured out how to get the username length to 11 characters.
>  You have to change  in /usr/include/utmp.h:
> 
> 	 #define UT_NAMESIZE     8
>   to
> 	 #define UT_NAMESIZE     11
> 
>   because in /usr/include/sys/param.h:
> 
>   	/* MAXLOGNAME should be >= UT_NAMESIZE (see <utmp.h>) */
>    	#define MAXLOGNAME      12        /* max login name length */
> 
>   and rebuild the clibs and associated programs ( make world gets them
>   all ). but my question is this... what is the reason for keeping it
>   at 8 characters?!? I know that there may be problems with ls.. and I
>   am contemplating patching that.. but what other problems would I
>   encounter? 

Because *other* programs assume this also.  Consider rebuilding world
and all ports, etc.  And if your box talks to *other* boxes that
*don't* know about your "enhancement", LOSE LOSE...

This has been covered *several* times in the past.  Check the
mailing list archives.

--don



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608151340.GAA18857>