From owner-freebsd-hackers Fri Jul 30 9:20:11 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from dingo.cdrom.com (castles509.castles.com [208.214.165.73]) by hub.freebsd.org (Postfix) with ESMTP id 6A90F14C58 for ; Fri, 30 Jul 1999 09:20:09 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id JAA03962; Fri, 30 Jul 1999 09:13:52 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199907301613.JAA03962@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Sheldon Hearn Cc: Mike Smith , hackers@freebsd.org Subject: Re: No MAXUID ? In-reply-to: Your message of "Fri, 30 Jul 1999 12:50:23 +0200." <55670.933331823@axl.noc.iafrica.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 30 Jul 1999 09:13:52 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > On Fri, 30 Jul 1999 00:53:56 MST, Mike Smith wrote: > > > It probably belongs in param.h, and you can probably safely calculate it > > as (uid_t)0 - 1; > > Excellent. > > Another question I should have asked in my original mail is this: are > there magical reasons why we should want pwd_mkdb to bleat for every > encountered UID greater that 65535 ? v2 NFS doesn't support UIDs > 65535, and UIDs around that number are magic to it as well. There are serious security issues here (files will appear to be owned by the wrong user). > Can you think of anything other than hysterical raisins why I shouldn't > bump that artificial limit to the new MAX_UID when that arrives? I think that the administrator should be forced to override the warning manually to indicate that they are aware of the issues they are getting themselves in for, or at the very least that there should be some very serious warnings placed in the relevant manpages (mount_nfs, passwd(5), vipw, etc) covering these issues.a -- \\ The mind's the standard \\ Mike Smith \\ of the man. \\ msmith@freebsd.org \\ -- Joseph Merrick \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message