Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Aug 2001 15:03:49 +0100
From:      Karl Pielorz <kpielorz@tdx.co.uk>
To:        Byron Schlemmer <byron.schlemmer@realtime.co.uk>, freebsd-questions@FreeBSD.ORG
Subject:   Re: 16 Character or longer usernames
Message-ID:  <53070641.996851028@geko>
In-Reply-To: <Pine.LNX.4.33L2.0108031433230.14725-100000@cyclops.ehsrealtime.com>
References:   <Pine.LNX.4.33L2.0108031433230.14725-100000@cyclops.ehsrealtime. com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 03 August 2001 14:40 -0400 Byron Schlemmer wrote,

> I'm having problems getting FreeBSD to accept longer than 16 character
> usernames. I've come across the following hack L
>
> I edit the following file :
>
> /usr/src/sys/sys/param.h :
> 	#define MAXLOGNAME      17 /* max login name length (incl. NUL) */
> and
> /usr/src/include/utmph :
> 	#define UT_NAMESIZE     16      /* see MAXLOGNAME in <sys/param.h> */
>
> Then I do a make world.
>
> The above values seem to work as far as adding users go but I noticed
> this little problem :
>
> [byrons@localhost byrons]$ top
> kvm_open: proc size mismatch (40128 total, 1104 chunks)
> top: Out of memory.

Make sure you rebuild the kernel, once you've rebuilt the world - if the 
two get out of sync, you'll see errors like this...

-Kp

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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