From owner-freebsd-doc Mon Mar 31 15:23:53 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA17233 for doc-outgoing; Mon, 31 Mar 1997 15:23:53 -0800 (PST) Received: from softway95.softway.com (softway95.softway.com [206.80.1.38]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA17222 for ; Mon, 31 Mar 1997 15:23:50 -0800 (PST) Received: (from renaud@localhost) by softway95.softway.com (8.8.5/8.6.12) id PAA07876; Mon, 31 Mar 1997 15:05:09 -0800 (PST) From: Renaud Waldura Message-Id: <199703312305.PAA07876@softway95.softway.com> Subject: Re: FAQ updates To: peter@taronga.com (Peter da Silva) Date: Mon, 31 Mar 1997 15:05:09 -0800 (PST) Cc: freebsd-doc@freebsd.org In-Reply-To: <199703301908.NAA24222@bonkers.taronga.com> from "Peter da Silva" at Mar 30, 97 01:08:46 pm Reply-To: Renaud Waldura Organization: Softway, Inc. (San Francisco) X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-doc@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Peter da Silva wrote: > > If anyone sees anything in the FAQ that needs updating, feel free to send > me suggestions, patches, and explanations. I'm averaging a couple new entries I'd like to see an entry like "Why are usernames restricted to 8 characters in length?" Proposed answer (frmo what I've read in the archives): Just changing UT_NAMESIZE and "make world" won't work, and besides it's not considered a Good Idea. Two main reasons for that: 1- the value for the user name length is hardcoded all over the place, AND in different ports. You need to edit a whole lot of source code. Among others: (this list from jc@irbs.com (John Capo)) /usr/src/include/protocols/rwhod.h: char out_name[8]; /* user id */ /usr/src/usr.sbin/lpr/lprm/lprm.c:static char luser[16]; /* buffer for person */ /usr/src/usr.bin/rdist/main.c:char user[10]; /* user's name */ /usr/src/usr.bin/rdist/server.c: static char user[15], group[15]; /usr/src/games/battlestar/externs.h:char uname[9]; /usr/src/release/sysinstall/anonFTP.c: char uid[8]; /* UID */ /usr/src/libexec/rexecd/rexecd.c: char user[16], pass[16]; /usr/src/libexec/rshd/rshd.c:char username[20] = "USER="; /usr/include/stdio.h:#define L_cuserid 9 /* size for cuserid(); UT_NAMESIZE + 1 */ 2- Sun's (most?) NIS clients don't support long usernames It has been said that this feature won't appear in 2.1. -- -- Renaud Waldura -- -- Softway International, Inc -- -- rw@softway.com -- -- 185 Berry Street, Suite 5514 -- -- San Francisco, CA 94107 -- -- USA -- -- Tel (415) 896-0708 -- Fax (415) 896-0709 -- http://www.softway.com/ -- --