Be a bit more verbose about login name length.
This commit is contained in:
parent
fc75bbbf65
commit
7da0001698
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=3160
1 changed files with 23 additions and 8 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
<!-- $Id: misc.sgml,v 1.4 1998-06-08 04:00:59 jkoshy Exp $ -->
|
<!-- $Id: misc.sgml,v 1.5 1998-07-23 14:10:03 jkh Exp $ -->
|
||||||
<!-- The FreeBSD Documentation Project -->
|
<!-- The FreeBSD Documentation Project -->
|
||||||
|
|
||||||
<sect>
|
<sect>
|
||||||
|
|
@ -126,14 +126,29 @@
|
||||||
</heading>
|
</heading>
|
||||||
|
|
||||||
<p>You'd think it'd be easy enough to change <bf/UT_NAMESIZE/ and rebuild
|
<p>You'd think it'd be easy enough to change <bf/UT_NAMESIZE/ and rebuild
|
||||||
the whole world, and everything would just work. Unfortunately there's
|
the whole world, and everything would just work. Unfortunately there
|
||||||
scads of applications and utilities (including system tools) that have
|
are often scads of applications and utilities (including system tools)
|
||||||
hard-coded small numbers (not always "8" or "9", but oddball ones
|
that have hard-coded small numbers (not always "8" or "9", but oddball
|
||||||
like "15" and "20") in structures and buffers... and it would break
|
ones like "15" and "20") in structures and buffers. Not only will
|
||||||
Sun's NIS clients and no doubt cause other problems in interacting
|
this get you log files which are trashed (due to variable-length
|
||||||
with other UNIX systems.
|
records getting written when fixed records were expected), but it can
|
||||||
|
break Sun's NIS clients and potentially cause other problems in
|
||||||
|
interacting with other UNIX systems.
|
||||||
|
|
||||||
<p>FreeBSD 3.0 and later will have 16 character names, however.
|
<p>In FreeBSD 3.0 and later, the maximum name length has been
|
||||||
|
increased to 16 characters and those various utilities with
|
||||||
|
hard-coded name sizes have been found and fixed. The fact that this
|
||||||
|
touched so many areas of the system is why, in fact, the change was
|
||||||
|
not made until 3.0.</p>
|
||||||
|
|
||||||
|
<p>If you're absolutely confident in your ability to find and fix
|
||||||
|
these sorts of problems for yourself when and if they pop up, you
|
||||||
|
can increase the login name length in earlier releases by editing
|
||||||
|
/usr/include/utmp.h and changing UT_NAMESIZE accordingly. You must
|
||||||
|
also update MAXLOGNAME in /usr/include/sys/param.h to match
|
||||||
|
the UT_NAMESIZE change. Finally, if you build from sources, don't
|
||||||
|
forget that /usr/include is updated each time! Change the appropriate
|
||||||
|
files in /usr/src/.. instead.</p>
|
||||||
|
|
||||||
<sect1>
|
<sect1>
|
||||||
<heading>Can I run DOS binaries under FreeBSD?</heading>
|
<heading>Can I run DOS binaries under FreeBSD?</heading>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue