Date: 23 Mar 1999 22:31:13 +0100 From: Slaven Rezic <eserte@cs.tu-berlin.de> To: Benjamin Gavin <gavinb@supranet.net> Cc: freebsd-stable@FreeBSD.org Subject: Re: Username size limit suggestion Message-ID: <87ogljao66.fsf@cabulja.herceg.de> In-Reply-To: Benjamin Gavin's message of Tue, 23 Mar 1999 14:46:23 -0600 References: <4.1.19990323143242.00b423a0@mail.supranet.net>
index | next in thread | previous in thread | raw e-mail
Benjamin Gavin <gavinb@supranet.net> 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
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87ogljao66.fsf>
