From owner-freebsd-stable Tue Mar 23 17:15: 8 1999 Delivered-To: freebsd-stable@freebsd.org Received: from mail.cs.tu-berlin.de (mail.cs.tu-berlin.de [130.149.17.13]) by hub.freebsd.org (Postfix) with ESMTP id 4105A15476 for ; Tue, 23 Mar 1999 17:15:04 -0800 (PST) (envelope-from eserte@cs.tu-berlin.de) Received: (from eserte@localhost) by mail.cs.tu-berlin.de (8.9.1/8.9.1) id CAA18030; Wed, 24 Mar 1999 02:13:15 +0100 (MET) Received: (from eserte@localhost) by cabulja.herceg.de (8.8.8/8.6.12) id WAA02275; Tue, 23 Mar 1999 22:31:13 +0100 (CET) To: Benjamin Gavin Cc: freebsd-stable@FreeBSD.org Subject: Re: Username size limit suggestion References: <4.1.19990323143242.00b423a0@mail.supranet.net> Reply-To: eserte@cs.tu-berlin.de From: Slaven Rezic Date: 23 Mar 1999 22:31:13 +0100 In-Reply-To: Benjamin Gavin's message of Tue, 23 Mar 1999 14:46:23 -0600 Message-ID: <87ogljao66.fsf@cabulja.herceg.de> Lines: 30 X-Mailer: Gnus v5.3/Emacs 19.34 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Benjamin Gavin writes: > > Hi all, > I believe that we can all agree that there is never going to be an agreed > upon limit on the username size. I have just finished rebuilding my system > to support 32-character usernames (I think, have to finish testing it). I > have a suggestion and also a couple of questions. First the suggestion: > > Suggestion: > I noticed that the adduser script has the 16 character limit hard-coded > into the file. I was thinking that it might be a good idea to make that a > configurable global variable or something of that sort (i.e. $UT_NAMESIZE, > ala. sys/params.h, at the top of the file.) This can be done automatically in perl. Something like require "sys/param.ph"; print "max logname length is " . &MAXLOGNAME . "\n"; should do the trick. Regards, Slaven -- use Tk;$c=tkinit->Canvas->pack;$x=45;for(split/_/,'KPI1_+09IPK_K;-OA1_+K!;A__1; Q!7G_1+QK_3CLPI90,_+K!;A_+1!KQ!.N_K+1Q!.F_1+KN.Q__1+KN._K+1Q!.F_1+KN.Q_+1Q__+1! KQ!.N_1;Q!7G_K3,09Q_+1!K.Q_K+1Q!.F_1+KN.Q'){s/\n//g;for(split/!/){$c->create( 'line',map{$a=-43+ord;($x+($a>>3)*2,123+($a&7)*2)}split//)}$x+=12}MainLoop To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message