🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Steven M. Schultz Tue, 03 Oct 1989 21:44
large UIDs cause problems in 'sa'
#37
Author: Steven M. Schultz
Date: Tue, 03 Oct 1989 21:44
36 lines
1330 bytes
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;
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads