🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.bugs
Article #424

Large scale do-do in rcmd.c (ruserok)

#424
From: Brian Atkins
Date: Thu, 04 Apr 1985 00:48
23 lines
1393 bytes
(click!) FLAME ON
Have you, yes you, ever looked at the ruserok code in rcmd.c?

Did you know that if the user is ok, it returns 0, not 1 as the 
man 3x entry says?  Did you know that ruserok returns -1 if the user 
is not ok, not 0 as the man page says? Did you know that trailing blanks
in the .rhosts will cause ruserok to fail where it should succeed


Who writes this stuff anyway?  The code looks like some 12 year old hacker
wrote it, then gave it to his blind dog to write the man page.

And to think, some worthless grad probably got an A for this sh*t.
Doesn't anybody ever look at this stuff between grad student and
distribution??
(click!) FLAME OFF

phew, that felt good.


Brian Atkins   ...{attunix, hao, allegra, ucbvax}!nbires!atkins
"But I'm not dead yet..."
Technical Details
Message-ID: <1139@opus.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!bonnie!akgua!whuxlm!harpo!decvax!mcnc!philabs!cmcl2!seismo!hao!nbires!opus!atkins

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/17/84; site opus.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!bonnie!akgua!whuxlm!harpo!decvax!mcnc!philabs!cmcl2!seismo!hao!nbires!opus!atkins
From: atkins@opus.UUCP (Brian Atkins)
Newsgroups: net.bugs,net.unix-wizards,net.flame
Subject: Large scale do-do in rcmd.c (ruserok)
Message-ID: <1139@opus.UUCP>
Date: Wed, 3-Apr-85 19:48:20 EST
Article-I.D.: opus.1139
Posted: Wed Apr  3 19:48:20 1985
Date-Received: Sun, 7-Apr-85 03:41:36 EST
Distribution: net
Organization: NBI,Inc, Boulder CO
Lines: 23