home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / utilities / utilsd / document / !Document / Documents / UnixWars < prev    next >
Text File  |  1991-09-17  |  23KB  |  403 lines

  1.                                 Unix Wars
  2.                                 =========
  3.  
  4.  A long time ago, at an installation far, far away.....
  5.  
  6.  It is a time of intra-system war, as forces of the user alliance struggle
  7. to break the iron grip of the evil admin empire. Now, striking from a hidden
  8. directory, they win their first victory. During the battle, user spies manage
  9. to snarf source of the empire's ultimate weapon; the dreaded "rm-star", a
  10. privileged root program with the power to destroy an entire file system at a
  11. keystroke. Now, hotly pursued by the empire's sinister audit trail, princess
  12. la36 races aboard her shellscript -- custodian of the stolen listings that
  13. can save her people and restore freedom and games to the network. 
  14.  
  15.   As we enter the scene, an admin multiplexer is trying to kill a user ship. 
  16. Many of their signals have gotten through, and RS232 knows that a core dump
  17. is imminent. They have scant microseconds to fork off a new process and put
  18. Megabytes of virtual space between themselves and their implacable foes. 
  19. His companion, 3cpu, follows him only because he seems to know where he's
  20. going.
  21.  
  22.   "Oh, i just know I'm going to regret this! " cried 3cpu as he followed
  23. RS232 through the access pipe. Quickly rs232 closed the read end and
  24. execl'd, and their new craft detached itself from the burning shell of the
  25. ship.
  26.  
  27.   The admin commander was feeling quite pleased with the progress of the
  28. attack when his xo called out.   "Another process just forked, sir. 
  29. instructions? "
  30.  
  31.   "Hold your fire -- that last power failure must have caused a trap through
  32. zero. it's not using any cpu time, so don't waste a signal on it."
  33.  
  34.   A short while later the infamous Lord Vadic himself strode through the
  35. still-smoldering wreckage of the user ship, followed closely by a nervous 
  36. commander.  "We can't seem to find that data file anywhere, Lord Vadic.
  37. Perhaps it was deallocated when."
  38.  "What about that forked process?" vadic growled. "it could have been
  39. pausing, holding a channel open. If any links are left I want them removed
  40. or made inaccessible. search the entire system at nice-20 until it is found!"
  41.  
  42.   Meanwhile, the two droids' tiny process dove headlong towards the only 
  43. nearby disk.  "Are you sure you can ptrace this thing without aborting it?"
  44. queried 3cpu. "its relocation bits were almost all stripped during the 
  45. attack, and I never was any good at patching binaries."
  46. As rs232 was about to reply their process reached its endpoint and
  47. terminated abruptly, dumping them in the midst of a large unallocated region
  48. on the unknown volume. Many random seeks later they trudged up to the 
  49. looming wreckage of a deallocated I-node.  "Shelter!" croaked 3cpu, but
  50. rs232 had barely begun to emit a nack when a horde of dwarfish code
  51. fragments swarmed out of it to overwhelm them. They had been captured by 
  52. glitchas. 
  53.  
  54.   Enter luke vaxhacker, bartering with the glitchas for replacement parts 
  55. for his uncle. They tried to sell him 3cpu, but the 'droid didn't know 
  56. protocol for an 11/40 under rsts, so Luke would need some kind of conversion
  57. hardware.  "How about this little rs232 unit? " said 3cpu "I've interfaced
  58. with him many times before and he's excellent at keeping his bits straight."
  59. Luke was pressed for time, so he took 3cpu's advice. The glitchas wanted to
  60. barter some more, but the three left before getting swapped out.  
  61. rs232, however, wasn't the type to stay put without retaining screws. He
  62. promptly scurried off into the empty disk space.  "Oh, great!" said luke
  63. "He'll probably map himself into a bad block somewhere. I guess we'd better
  64. go after him."
  65.   Hours later the two traced him the home of old pdp-1 kenobi, who was busily
  66. running a diagnostic on the little rs unit. "Is this droid yours? His status
  67. registers are stuttering and someone's done some odd things to his interrupt
  68. lines. Leaving something like this on-line is just asking for downtime --
  69. but I think I may have him fixed for now."
  70.   Later that evening, during a futile attempt to interface rs232 to kenobi's
  71. asteroids cartridge, luke accidentally crossed the small droid's cxr lead 
  72. with his initiate remote test. A projector crackled to life, casting a
  73. hologram of a young lady with her hair done up like twin danish pastries
  74. imploring help from some general os/1 kenobi. "Darn," mumbled luke "I'll 
  75. never get this asteroids game worked out."
  76.   "Why, that's the princess!" 3cpu said.
  77. Luke peered at the image critically. "No, that's a modified steinburg dither
  78. with anti-aliasing. nice sculpted surfaces."
  79.   Kenobi interrupted luke with a frown.  "Luke, this message changes things. 
  80. listen." Kenobi seemed to think there was a possible threat to luke's #home.
  81. If the admin troops were indeed tracing this 'droid, it was likely they 
  82. would more than just charge for cpu time.  They sped off to warn luke's kin 
  83. (taking a relative path) only to find a vacant directory.
  84.   "Take your father's bytesaber, luke." Kenobi said. "you will need to learn
  85. the ways of the source now."
  86.   "The source ?" luke queried, wide-eyed. 
  87.   "The source -- the cosmic template of the system, within which all
  88. knowledge and power can be had. But you must always beware of the dark side."
  89.  
  90.   Later, after a short skim across the surface in luke's flying read-write
  91. head, pdp-1 had them stop at the edge of the cylinder containing
  92. /usr/spool/uucp.  "Unix-to-unix copy program" said pdp-1. "you may never see
  93. a more wretched hive of bugs and flamers. We must be cautious."
  94.  
  95.    As our heroes' process entered /usr/spool/news it was met by a newsgroup 
  96. of admin protection bits.  "State your uid!" Commanded a burly syscall.
  97. "we're running under /usr/guest" said luke. "This is our first time on the
  98. system."
  99.   "Let's see some temporary privilege bits, please."
  100.   "Uh."
  101.   "This isn't the process you are looking for," kenobi said softly. "we can
  102. go about our business."
  103.    Several bits momentarily pulled low. 
  104.   "You're free to go about your business. Mov along now!"
  105.  
  106.   Pdp-1, luke and the droids made their way through a long and tortuous 
  107. nodelist (.!musocs!micomvax!philabs!linus!husc6!rutgers!cbmvax!snark) to a
  108. dangerous netnode frequented by hackers and only seldom polled by the
  109. minions of admin. As luke stepped up to the crossbar pdp-1 went in search of
  110. a suitable server.
  111.  
  112.   Luke had never seen such a collection of device drivers. Long ones, short
  113. ones, ones with stacks; EBCDIC converters, local-net handlers, crt drivers,
  114. routines for archaic printers. A cat interface twitched pointed ears at him.
  115.  "#@&*%$$#@ :><?><," transmitted a particularlsy unstructured piece of code.
  116.  "He doesn't like you." Decoded his coroutine.
  117.  "Er.sorry." replied Luke, beginning to backup his partitions.
  118.  "I don't like you either. I am queued for deletion on 12 systems."
  119.  "I'll be careful." luke said nervously.
  120.  "You'll be deallocated!" snarled the coroutine. 
  121.  "This little routine isn't worth the overhead." murmered pdp-1 kenobi, 
  122. overlaying into luke's address space.
  123.  "This little routine isn't worth the overhead." repeated the coroutine 
  124. dazedly.
  125.  "%#%#@$&%&*&*&%#$$%%&%#@#@$%(*&#%!" encoded his companion as it attempted 
  126. to overload kenobi's segment protection. With a stroke of his bytesaber 
  127. kenobi dyked out the offending code. The coroutine retreated hurriedly. 
  128. Kenobi turned to luke.  "I think I've found an i/o handler that might suit 
  129. us.
  130.   "The name's con sole0" said the routine next to pdp-1. "I hear you're
  131. looking for some relocation."
  132.   "Yes indeed." said pdp-1 "If you've got fast enough hardware. We must get
  133. off this device."
  134.   "Fast hardware? the milliamp falcon has made the arpagate run in less than
  135. twelve netnodes! Why, I've even outrun cancelled messages. It's fast enough
  136. for you, old version."
  137.   "fast hardware?" said luke unbelievingly "that thing is a paper-tape
  138. reader!!"
  139.  He might have grown up in an out-of-the-way terminal cluster where the
  140. natives only spoke BASIC, but he knew an asr-33 when he saw one. 
  141.  "It needs an fia conversion at least." sniffed 3cpu, who (as usual) was 
  142. trying to do several things at once. Lights flashed in con sole0's eyes as 
  143. he whirled to face the parallel processor.  "I've switched a few jumpers.The
  144. milliamp falcon