home *** CD-ROM | disk | FTP | other *** search
/ linuxmafia.com 2016 / linuxmafia.com.tar / linuxmafia.com / pub / humour / sysadmin-types < prev    next >
Text File  |  2002-08-01  |  14KB  |  422 lines

  1. Know Your UNIX Administrator
  2.  
  3. There are four major species of Unix sysad:
  4.  
  5. 1) The TECHNICAL THUG.  Usually a systems programmer who has been
  6. forced into system administration; writes scripts in a polyglot of  
  7. the Bourne shell, sed, C, awk, perl, and APL.
  8.  
  9. 2) The ADMINISTRATIVE FASCIST.  Usually a retentive drone (or rarely,
  10. a harridan ex-secretary) who has been forced into system administration.
  11.  
  12. 3) The MANIAC.  Usually an aging cracker who discovered that neither
  13. the Mossad nor Cuba are willing to pay a living wage for computer
  14. espionage.  Fell into system administration; occasionally approaches
  15. major competitors with indesp schemes.
  16.  
  17. 4) The IDIOT.  Usually a cretin, morpohodite, or old COBOL programmer
  18. selected to be the system administrator by a committee of cretins,
  19. morphodites, and old COBOL programmers.
  20.  
  21.  
  22.  
  23. HOW TO IDENTIFY YOUR SYSTEM ADMINISTRATOR:
  24.  
  25.  
  26. ---------------- SITUATION: Low disk space. ----------------
  27.  
  28.         TECHNICAL THUG: Writes a suite of scripts to monitor disk
  29. usage, maintain a database of historic disk usage, predict future disk
  30. usage via least squares regression analysis, identify users who are
  31. more than a standard deviation over the mean, and send mail to the
  32. offending parties.  Places script in cron.  Disk usage does not
  33. change, since disk-hogs, by nature, either ignore script-generated
  34. mail, or file it away in triplicate.
  35.  
  36.  
  37.         ADMINISTRATIVE FASCIST: Puts disk usage policy in motd.  Uses
  38. disk quotas.  Allows no exceptions, thus crippling development work.
  39. Locks accounts that go over quota.
  40.  
  41.         MANIAC:
  42. # cd /home
  43. # rm -rf `du -s * | sort -rn | head -1 | awk '{print $2}'`;
  44.  
  45.         IDIOT:
  46. # cd /home
  47. # cat `du -s * | sort -rn | head -1 | awk '{ printf "%s/*\n", $2}'` |  compress
  48.  
  49.  
  50. ---------------- SITUATION: Excessive CPU usage. ----------------
  51.  
  52.         TECHNICAL THUG: Writes a suite of scripts to monitor
  53. processes, maintain a database of CPU usage, identify processes more
  54. than a standard deviation over the norm, and renice offending
  55. processes.  Places script in cron.  Ends up renicing the production
  56. database into oblivion, bringing operations to a grinding halt, much
  57. to the delight of the xtrek freaks.
  58.  
  59.         ADMINISTRATIVE FASCIST: Puts CPU usage policy in motd.  Uses
  60. CPU quotas.  Locks accounts that go over quota.  Allows no exceptions,
  61. thus crippling development work, much to the delight of the xtrek
  62. freaks.
  63.  
  64.         MANIAC:
  65. # kill -9 `ps -augxww | sort -rn +8 -9  | head -1 | awk '{print $2}'`
  66.  
  67.         IDIOT:
  68. # compress -f `ps -augxww | sort -rn +8 -9  | head -1 | awk '{print  $2}'`
  69.  
  70.  
  71. ---------------- SITUATION: New account creation. ----------------
  72.  
  73.         TECHNICAL THUG: Writes perl script that creates home
  74. directory, copies in incomprehensible default environment, and places
  75. entries in /etc/passwd, /etc/shadow, and /etc/group.  (By hand, NOT
  76. with passmgmt.) Slaps on setuid bit; tells a nearby secretary to
  77. handle new accounts.  Usually, said secretary is still dithering over
  78. the difference between 'enter' and 'return'; and so, no new accounts
  79. are ever created.
  80.  
  81.         ADMINISTRATIVE FASCIST: Puts new account policy in motd.
  82. Since people without accounts cannot read the motd, nobody ever
  83. fulfills the bureaucratic requirements; and so, no new accounts are
  84. ever created.
  85.  
  86.         MANIAC: "If you're too stupid to break in and create your own
  87. account, I don't want you on the system.  We've got too many goddamn
  88. sh*t-for-brains a**holes on this box anyway."
  89.  
  90.         IDIOT:
  91. # cd /home; mkdir "Bob's home directory"
  92. # echo "Bob Simon:gandalf:0:0::/dev/tty:compress -f" ] /etc/passwd
  93.  
  94.  
  95. ---------------- SITUATION: Root disk fails. ----------------
  96.  
  97.         TECHNICAL THUG: Repairs drive.  Usually is able to repair
  98. filesystem from boot monitor.  Failing that, front-panel toggles
  99. microkernel in and starts script on neighboring machine to load binary
  100. boot code into broken machine, reformat and reinstall OS.  Lets it run
  101. over the weekend while he goes mountain climbing.
  102.  
  103.         ADMINISTRATIVE FASCIST: Begins investigation to determine who
  104. broke the drive.  Refuses to fix system until culprit is identified
  105. and charged for the equipment.
  106.  
  107.         MANIAC, LARGE SYSTEM: Rips drive from system, uses
  108. sledgehammer to smash same to flinders.  Calls manufacturer, threatens
  109. pets.  Abuses field engineer while they put in a new drive and
  110. reinstall the OS.
  111.  
  112.         MANIAC, SMALL SYSTEM: Rips drive from system, uses ball-peen
  113. hammer to smash same to flinders.  Calls Requisitions, threatens pets.
  114. Abuses bystanders while putting in new drive and reinstalling OS.
  115.  
  116.         IDIOT: Doesn't notice anything wrong.
  117.  
  118.  
  119. ---------------- SITUATION: Poor network response. ----------------
  120.  
  121.         TECHNICAL THUG: Writes scripts to monitor network, then
  122. rewires entire machine room, improving response time by 2%.  Shrugs
  123. shoulders, says, "I've done all I can do," and goes mountain  
  124. climbing.
  125.  
  126.         ADMINISTRATIVE FASCIST: Puts network usage policy in motd.
  127. Calls up Berkeley and AT&T, badgers whoever answers for network
  128. quotas.  Tries to get xtrek freaks fired.
  129.  
  130.         MANIAC: Every two hours, pulls ethernet cable from wall and
  131. waits for connections to time out.
  132.  
  133.         IDIOT:
  134. # compress -f /dev/en0
  135.  
  136.  
  137. ---------------- SITUATION: User questions. ----------------
  138.  
  139.         TECHNICAL THUG: Hacks the code of emacs' doctor-mode to answer
  140. new users questions.  Doesn't bother to tell people how to start the
  141. new "guru-mode", or for that matter, emacs.
  142.  
  143.         ADMINISTRATIVE FASCIST: Puts user support policy in motd.
  144. Maintains queue of questions.  Answers them when he gets a chance,
  145. often within two weeks of receipt of the proper form.
  146.  
  147.         MANIAC: Screams at users until they go away.  Sometimes
  148. barters knowledge for powerful drink and/or sycophantic adulation.
  149.  
  150.         IDIOT: Answers all questions to best of his knowledge until
  151. the user realizes few UNIX systems support punched cards or JCL.
  152.  
  153.  
  154. ---------------- SITUATION: *Stupid* user questions. ----------------
  155.  
  156.         TECHNICAL THUG: Answers question in hex, binary, postfix,
  157. and/or French until user gives up and goes away.
  158.  
  159.         ADMINISTRATIVE FASCIST: Locks user's account until user can
  160. present documentation demonstrating their qualification to use the
  161. machine.
  162.  
  163.         MANIAC:
  164. # cat ]] ~luser/.cshrc
  165. alias vi 'rm \!*;unalias vi;grep -v BoZo ~/.cshrc ] ~/.z; mv -f ~/.z  
  166. ^D
  167.  
  168.         IDIOT: Answers all questions to best of his knowledge.
  169. Recruits user to system administration team.
  170.  
  171.  
  172. ---------------- SITUATION: Process accounting management.  ----------------
  173.  
  174.         TECHNICAL THUG: Ignores packaged accounting software; trusts
  175. scripts to sniff out any problems & compute charges.
  176.  
  177.         ADMINISTRATIVE FASCIST: Devotes 75% of disk space to
  178. accounting records owned by root and chmod'ed 000.
  179.  
  180.         MANIAC:  Laughs fool head off at very mention of accounting.
  181.  
  182.         IDIOT:
  183. # lpr /etc/wtmp /usr/adm/paact
  184.  
  185.  
  186. ---------------- SITUATION: Religious war, BSD vs. System V.  ----------------
  187.  
  188.         TECHNICAL THUG:  BSD.  Crippled on System V boxes.
  189.  
  190.         ADMINISTRATIVE FASCIST: System V.  Horrified by the people who
  191. use BSD.  Places frequent calls to DEA.
  192.  
  193.         MANIAC: Prefers BSD, but doesn't care as long as HIS  processes
  194. run quickly.
  195.  
  196.         IDIOT:
  197. # cd c:
  198.  
  199.  
  200. ---------------- SITUATION: Religious war, System V vs. AIX ----------------
  201.  
  202.         TECHNICAL THUG:  Weeps.
  203.  
  204.         ADMINISTRATIVE FASCIST: AIX-- doesn't much care for the OS,
  205. but loves the jackboots.
  206.  
  207.         MANIAC: System V, but keeps AIX skills up, knowing full well
  208. how much Big Financial Institutions love IBM....
  209.  
  210.     IDIOT: AIX.
  211.  
  212.  
  213.  
  214. ---------------- SITUATION: Balky printer daemons. ----------------
  215.  
  216.     TECHNICAL THUG: Rewrites lpd in FORTH.
  217.  
  218.     ADMINISTRATIVE FASCIST: Puts printer use policy in motd. Calls
  219. customer support every time the printer freezes. Tries to get user who
  220. submitted the most recent job fired.
  221.  
  222.     MANIAC: Writes script that kills all the daemons, clears all the
  223. print queues, and maybe restarts the daemons. Runs it once a hour from
  224. cron.
  225.  
  226.     IDIOT:
  227.  
  228. # kill -9 /dev/lp ; /dev/lp &
  229.  
  230.  
  231.  
  232. ---------------- SITUATION: OS upgrade -----------------
  233.  
  234.     TECHNICAL THUG: Reads source code of new release, takes only
  235. what he likes.
  236.  
  237.     ADMINISTRATIVE FASCIST: Instigates lawsuit against the vendor
  238. for having shipped a product with bugs in it in the first place.
  239.  
  240.     MANIAC:
  241.  
  242. # uptime
  243. 1:33pm  up 19 days, 22:49,  167 users,  load average: 6.49, 6.45, 6.31
  244. # wall
  245. Well, it's upgrade time.  Should take a few hours.  And good luck on
  246. that 5:00 deadline, guys!  We're all pulling for you!
  247. ^D
  248.  
  249.     IDIOT:
  250.  
  251. # dd if=/dev/rmt8 of=/vmunix
  252.  
  253.  
  254.  
  255. ---------------- SITUATION: Balky mail ----------------
  256.  
  257.     TECHNICAL THUG: Rewrites sendmail.cf from scratch. Rewrites
  258. sendmail in SNOBOL. Hacks kernel to implement file locking. Hacks kernel
  259. to implement "better" semaphores. Rewrites sendmail in assembly. Hacks
  260. kernel to . . .
  261.  
  262.     ADMINISTRATIVE FASCIST: Puts mail use policy in motd. Locks
  263. accounts that go over mail use quota. Keeps quota low enough that people
  264. go back to interoffice mail, thus solving problem.
  265.  
  266.     MANIAC:
  267.  
  268. # kill -9 `ps -augxww | grep sendmail | awk '{print $2}'`
  269. # rm -f /usr/spool/mail/*
  270. # wall
  271. Mail is down.  Please use interoffice mail until we have it back up.
  272. ^D
  273. # write max
  274. I've got my boots and backpack.  Ready to leave for Mount Tam?
  275. ^D
  276.  
  277.     IDIOT:
  278.  
  279. # echo "HELP!" | mail tech_support.AT.vendor.com%kremvax%bitnet!BIFF!!!
  280.  
  281.  
  282.  
  283. ---------------- SITUATION: Users want phone list application --------------
  284.  
  285.     TECHNICAL THUG: Writes RDBMS in perl and Smalltalk. Users give
  286. up and go back to post-it notes.
  287.  
  288.     ADMINISTRATIVE FASCIST: Oracle. Users give up and go back to
  289. post-it notes.
  290.  
  291.     MANIAC: Tells the users to use flat files and grep, the way God
  292. meant man to keep track of phone numbers. Users give up and go back to
  293. post-it notes.
  294.  
  295.     IDIOT:
  296.  
  297. % dd ibs=80 if=/dev/rdisk001s7 | grep "Fred"
  298.  
  299.  
  300.  
  301. ================ OTHER GUIDELINES ================
  302.  
  303. ---------------- TYPICAL ROOT .cshrc FILE: -----------------
  304.  
  305.     TECHNICAL THUG: Longer than eight kilobytes. Sources the output
  306. of a perl script, rewrites itself.
  307.  
  308.     ADMINISTRATIVE FASCIST: Typical lines include:
  309.  
  310. umask 777
  311. alias cd 'cd \!*; rm -rf ching *hack mille omega rogue xtrek > /dev/null &'
  312.  
  313.     MANIAC: Typical lines include:
  314.  
  315. alias rm 'rm -rf \!*'
  316. alias hose kill -9 '`ps -augxww | grep \!* | awk \'{print $2}\'`'
  317. alias kill 'kill -9 \!* ; kill -9 \!* ; kill -9 \!*'
  318. alias renice 'echo Renice\?  You must mean kill -9.; kill -9 \!*'
  319.  
  320.     IDIOT: Typical lines include:
  321.  
  322. alias dir ls
  323. alias era rm
  324. alias kitty cat
  325. alias process_table ps
  326. setenv DISPLAY vt100
  327.  
  328.  
  329.  
  330. ---------------- HOBBIES, TECHNICAL: ----------------
  331.  
  332.     TECHNICAL THUG: Writes entries for Obsfuscated C contest.
  333. Optimizes INTERCAL scripts.  Maintains ENIAC emulator. Virtual reality .
  334.  
  335.     ADMINISTRATIVE FASCIST: Bugs office. Audits card-key logs.
  336. Modifies old TVs to listen in on cellular phone conversations. Listens
  337. to police band.
  338.  
  339.     MANIAC: Volunteers at Survival Research Labs. Bugs office. Edits
  340. card-key logs. Modifies old TVs to listen in on cellular phone
  341. conversations. Jams police band.
  342.  
  343.     IDIOT: Ties shoes. Maintains COBOL decimal to roman numeral
  344. converter.  Rereads flowcharts from his salad days at Rand.
  345.  
  346.  
  347.  
  348. ---------------- HOBBIES, NONTECHNICAL: --------------
  349.  
  350.     TECHNICAL THUG: Drinks "Smart Drinks." Attends raves. Hangs out
  351. at poetry readings and Whole Earth Review events and tries to pick up
  352. Birkenstock MOTAS.
  353.  
  354.     ADMINISTRATIVE FASCIST: Reads Readers Digest and Mein Kampf.
  355. Sometimes turns up car radio and sings along to John Denver. Golfs.
  356. Drinks gin martinis. Hangs out in yuppie bars and tries to pick up
  357. dominatrixes.
  358.  
  359.     MANIAC: Reads _Utne Reader_ and _Mein Kampf_.  Faithfully
  360. attends Dickies and Ramones concerts.  Punches out people who say
  361. "virtual reality."  Drinks damn near anything, but favors Wild Turkey,
  362. Black Bush, and grain alcohol.  Hangs out in neighborhood bars and
  363. tries to pick up MOTAS by drinking longshoremen under the table .
  364.  
  365.         IDIOT: Reads _Time_ and _Newsweek_-- and *believes* them.
  366. Drinks Jagermeister.  Tries to pick up close blood relations-- often
  367. succeeds, producting next generation of idiots.
  368.  
  369.  
  370. ---------------- 1992 PRESIDENTIAL ELECTION: ----------------
  371.  
  372.         TECHNICAL THUG: Clinton, but only because he liked Gore's book.
  373.  
  374.         ADMINISTRATIVE FASCIST: Bush. Possibly Clinton, but only
  375. because he liked Tipper.
  376.  
  377.         MANIAC: Frank Zappa.
  378.  
  379.         IDIOT: Perot.
  380.  
  381.  
  382. ---------------- 1996 PRESIDENTIAL ELECTION: ----------------
  383.  
  384.         TECHNICAL THUG: Richard Stallman - Larry Wall.
  385.  
  386.         ADMINISTRATIVE FASCIST: Nixon - Buchanan.
  387.  
  388.         MANIAC: Frank Zappa.
  389.  
  390.         IDIOT: Quayle.
  391.  
  392.  
  393. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  394.  
  395. COMPOUND SYSTEM ADMINISTRATORS:
  396.  
  397.  
  398.         TECHNICAL FASCIST: Hacks kernel & writes a horde of scripts to
  399. prevent folk from ever using more than their fair share of system
  400. resources.  Resulting overhead and load brings system to its knees.
  401.  
  402.         TECHNICAL MANIAC: Writes scripts that SEEM to be monitoring
  403. the system, but are actually encrypting large lists of passwords.
  404. Uses nearby nodes as beta test sites for worms.
  405.  
  406.         TECHNICAL IDIOT: Writes superuser-run scripts that sooner or
  407. later do an "rm -rf /".
  408.  
  409.         FASCISTIC MANIAC: At first hint of cracker incursions, whether
  410. real or imagined, shuts down system by triggering water-on-the-brain
  411. detectors and Halon system.
  412.  
  413.         FASCISTIC IDIOT:
  414. # cp /dev/null /etc/passwd
  415.  
  416.         MANIACAL IDIOT:  Napalms the CPU.
  417.  
  418.      -Stephan Zielinski
  419.  
  420.  
  421.  
  422.