From owner-freebsd-current Sat Jun 15 21:02:58 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA10448 for current-outgoing; Sat, 15 Jun 1996 21:02:58 -0700 (PDT) Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id VAA10443 for ; Sat, 15 Jun 1996 21:02:56 -0700 (PDT) Received: (from julian@localhost) by ref.tfs.com (8.7.5/8.7.3) id VAA18829; Sat, 15 Jun 1996 21:02:24 -0700 (PDT) Message-Id: <199606160402.VAA18829@ref.tfs.com> Subject: Re: UIDs greater than 65535 ? To: joerg_wunsch@uriah.heep.sax.de Date: Sat, 15 Jun 1996 21:02:24 -0700 (PDT) From: "JULIAN Elischer" Cc: freebsd-current@FreeBSD.org, james@expresslane.ca In-Reply-To: <199606151350.PAA03498@uriah.heep.sax.de> from "J Wunsch" at Jun 15, 96 03:50:56 pm X-Mailer: ELM [version 2.4 PL25 ME8b] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > > As James FitzGibbon wrote: > > > But pw_scan.c uses this check routine : > > > > if (id > USHRT_MAX) { > > warnx("%s > max uid value (%d)", p, USHRT_MAX); > > return (0); > > } > > > > So that although a userid can have a 32-bit value, the password scanning > > routines won't allow anything higher than 16 bit. > > > > Is this just an oversight (i.e. can we just change the constant in > > pw_scan.c? ) or are there other reasons why the UIDs are limited to 16-bit > > ? > > I think that's for hysterical raisons. Perhaps older (unsupported) > file systems like SYSVFS might break, as well as Yellow Plague. We currently modify this to complain, but continue working at my present employer.. I think I would like to submit a patch to make thios standard because we need UIDs > 16 bits and it IS legal but sometimes undesirable.. therefore it should be possible but annoying.. i.e. complains but continues... julian(E) > > -- > cheers, J"org > > joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE > Never trust an operating system you don't have sources for. ;-) >