Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 1999 22:47:26 -0400
From:      "Jean M. Vandette" <vandj@securenet.net>
To:        freebsd-isp@freebsd.org
Subject:   Re: Modifying MAXLOGNAME ?
Message-ID:  <4.1.19990729224552.00b71db0@ms.securenet.net>
In-Reply-To: <m119tiw-000zyOC@complx.LF.net>
References:  <4.1.19990727215803.009f5380@ms.securenet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
At 07:12 PM 7/29/99 +0200, you wrote:
>Hi!
>
>> >Anyone ever changed
>> >
>> >MAXLOGNAME/UT_NAMESIZE
>
>> >I want to increase this. Maybe to, say, 64 chars instead of 16.
>
>> I don't know why you would want such a high number however,
>> if you're serious about this first get the full souces I would suggest
>> CVSUP to make sure everthing is up to date including the ports collection.
>
>>  - Install your fresh system, including all the sources.
>>  - Edit the value of UT_NAMESIZE in /usr/src/include/utmp.h to 64 (or 
>>    whatever you want)
>>  - Edit the value of MAXLOGNAME in /usr/src/sys/sys/param.h to one
>>    greater than the value you gave UT_NAMESIZE (eg. 65)
>
>Done. Works OK with 64/65, as of now, on a demo system.
>
>> Remake the world and your kernel.  Note that there are a lot of ports 
>> that use the UT_NAMESIZE parameter, eg. the POP server.  You *must* 
>> rebuild them on this machine for them to work properly. (ie. you cannot 
>> install packages, or ports that were built on another system).
>
>OK, no problem with that. But now the other way around:
>
>If I compiled a application on that kind of mangled system
>and copied it to a "short-user" system -- assuming that the usernames
>on the "short-user" system are short-only-ones: Would these
>applications still work ?
>
>I booted the modified system, but with the old
>kernel and it still worked.
>
>I'll think this over.

Never tried it that way, I would assume no.  But like I said I have not
done the
reverse.... better still why would you bother or want to.

Regards

Jean M. Vandette

**************************************************************************
*SecureNet Information Services Inc.    100 Alexis Nihon Blvd., Suite 283*
*(514) 744-4242 Vox (514) 744-1552 Fax  St. Laurent, Quebec  H4M 2N7     *
********** Providing Quality Public Internet access since 1994************


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




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