Re: MAXLOGNAME > 17 ?

From: Matthew D. Fuller <fullermd_at_over-yonder.net>
Date: Sun, 1 Jun 2003 23:41:19 -0500
On Mon, Jun 02, 2003 at 12:52:38AM -0300 I heard the voice of
milo, and lo! it spake thus:
> 
> I think that change this value can resolv. After one cvsup of current,
> my login and syslogd were compiled again but not works. Then I did one
> attach  with gdb in login and I watched that mistake was in
> setlogin(username) in the child process.

Yes, you can.

Just change the values, then do your buildworld/buildkernel etc.  You may
also need to recompile some ports that mess with usernames.  I used to do
this on 2.2.x to get 16-char usernames, and had to rebuild things like
sshd to handle it ('course, with ssh in base now, that's one less).
There were occasional weirdnesses (wtmp got screwy sometimes, never
tracked it down), but overall it worked fine.


-- 
Matthew Fuller     (MF4839)   |  fullermd_at_over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

"The only reason I'm burning my candle at both ends, is because I
      haven't figured out how to light the middle yet"
Received on Sun Jun 01 2003 - 19:41:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:10 UTC