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

Brian Atkins atkins at opus.UUCP
Thu Apr 4 10:48:20 AEST 1985


(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..."



More information about the Comp.unix.wizards mailing list