Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!apple!voder!wlbr!wlv.imsd.contel.com!sms From: sms@wlv.imsd.contel.com (Steven M. Schultz) Newsgroups: comp.bugs.2bsd Subject: large UIDs cause problems in 'sa' Message-ID: <37681@wlbr.IMSD.CONTEL.COM> Date: 3 Oct 89 21:44:39 GMT Sender: news@wlbr.IMSD.CONTEL.COM Reply-To: sms@wlv.imsd.contel.com (Steven M. Schultz) Organization: Contel Federal Systems Lines: 36 Subject: Large UIDs cause 'sa' problems Index: etc/sa.c 2.10BSD Description: if you have the account of nobody::-2:-2: .... sa will complain that every account with a uid > 7 is preposterous. Repeat-By: create the account nobody:Nologin:-2:-2:anonymous NFS user:/: then run sa. Your line numbers may be somewhat different if the earlier patch to fix a conflict with the shadow password file hasn't been applied. Fix: *** sa.c.old Thu Jun 15 02:32:35 1989 --- sa.c Tue Oct 3 16:58:17 1989 *************** *** 296,302 **** pgdiv = getpagesize() / 1024; if (pgdiv == 0) pgdiv = 1; ! maxuser = USERSLOP + getmaxuid(); tabinit(); cmp = tcmp; --- 296,302 ---- pgdiv = getpagesize() / 1024; if (pgdiv == 0) pgdiv = 1; ! maxuser = getmaxuid(); tabinit(); cmp = tcmp;