home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / TECLADO / LOCKIT13.ZIP / LOCKIT.DOC < prev   
Encoding:
Text File  |  1990-09-14  |  6.0 KB  |  180 lines

  1. LOCKIT v1.3 -- Easy system locking for the terminally lazy
  2. ----------------------------------------------------------
  3. |v1.3 corrects an obscure bug that had the unmitigated gall to make me
  4. |look foolish -- under certain conditions (OK, under *lots* of conditions),
  5. |it allowed the user to "left-cursor" over the DOS prompt.
  6.  
  7. |v1.2 adds "correct password garbling" -- if you correctly enter the
  8. |password, then the last letter of the password will echo to the screen as
  9. |the keypress plus one; for example, the default password of CI$ will show
  10. |on the screen as CI%. A password (entered on the command-line) of ME will
  11. |show on the screen as MF. Keeps someone looking over your shoulder from
  12. |seeing the password while maintaining the illusion of a DOS screen.
  13.  
  14. |v1.2 corrects a bug: a command-line prompt that contained the ">"
  15. |character failed because it's used by DOS for redirection. Hey --
  16. |everyone's allowed to overlook *one* obvious possibility... after all, my
  17. |prompt has always ended with a ":", comme ca: C:\DOS\:
  18. |Anyhow, use $g (or $G) on the command-line for ">" -- if you want
  19. |C:\DOS>, then put C:\DOS$g on the command-line.
  20.  
  21. Version 1.1 docs
  22. ################
  23.  
  24. A quick start:
  25. ~~~~~~~~~~~~~~
  26.      Default password: CI$
  27.      Default prompt:   C:\>
  28.  
  29. Change (temporarily) like so:
  30.  
  31.      LOCKIT password prompt
  32. or
  33.      LOCKIT , prompt
  34. or
  35.      LOCKIT password
  36.  
  37. or (if you're really warped)
  38.  
  39.      LOCKIT password ,
  40.  
  41.  
  42. An Introduction
  43. ~~~~~~~~~~~~~~~
  44. I occasionally have need of a "password protection" program -- most
  45. recently, my wife wanted one for her PC. Just something simple, enough
  46. to keep the curious out.
  47.  
  48. Plenty of those floating around, of course.
  49.  
  50. But I also usually want one that *realistically* simulates the DOS
  51. prompt -- again, primarily for the curious. (Just to keep 'em in the
  52. dark about what's happening when they try to use the PC... and when
  53. they *don't*. No flashing "LOCKED PC" banners.)
  54.  
  55. Of course, there are a few programs with this feature too.
  56.  
  57. I also wanted one that kept log files of attempted and successful entries,
  58. one for each time the program is run.
  59.  
  60. Hmm.
  61.  
  62. One that wouldn't reveal the default password to a file editor.
  63.  
  64. Hmmmm.
  65.  
  66. One that was simple enough to use... I'm a lazy guy.
  67.  
  68. Hmmmmmm.
  69.  
  70. So I wrote one myself. Sigh.
  71.  
  72.  
  73. How LOCKIT works
  74. ~~~~~~~~~~~~~~~~
  75. If you type LOCKIT on the command line, or run it from your
  76. AUTOEXEC.BAT (the first line after ECHO OFF is the best place), then
  77. screen clears and you get a simulated DOS prompt. It looks like this:
  78.  
  79.      C:\>
  80.  
  81. Type anything and you'll get exactly what DOS would give you with no
  82. PATH and no recollection of the internal commands:
  83.  
  84.      Bad command or filename
  85.  
  86. complete with the disk activity you'd get if DOS were searching the PATH.
  87.  
  88. An ENTER gives you a new prompt, the screen scrolls properly, even ESC
  89. produces predictable results.
  90.  
  91. Enter the password (the default is CI$ -- all passwords are case-
  92. insensitive) and you return to the real prompt (or your AUTOEXEC.BAT).
  93.  
  94. Your efforts result in a file that has the day's date as the prefix and
  95. the attempt number (that day) as the extension, like this:
  96.  
  97.       Volume in drive C has no label
  98.       Directory of  C:\             
  99.                                
  100.      05-08-90 1         96   5-08-90  12:58p
  101.  
  102. The file is ASCII, and looks like this:
  103.  
  104.      05-08-1990, 12:58:16 DIR                  
  105.      05-08-1990, 12:58:19 cls                  
  106.      05-08-1990, 12:58:32 Hey! What's going on?                  
  107.      Successful entry on 05-08-1990 at 12:58:47
  108.  
  109. The log files are "hard-wired" to C:\ ... see the end of this doc on
  110. how to get a customized version.
  111.  
  112. Run the program again, and you'll get 05-08-90.2, and so on and so on,
  113. up to 05-08-90.999. (No, I have no idea what happens then. I suspect
  114. 05-08-90.100 is overwritten. Eplex me if you're masochistic enough to
  115. find out.)
  116.  
  117.  
  118. Command line options
  119. ~~~~~~~~~~~~~~~~~~~~
  120. While the default password and prompt are "hard-wired" into LOCKIT, you
  121. can specify different, *temporary* ones from the command line, like so:
  122.  
  123.      LOCKIT MY-PASSWORD C:\DOS:
  124.  
  125. The arguments are separated by spaces. (That means no spaces in the
  126. password or the prompt. Sorry.) You can leave off the password by
  127. substituting a comma, like so:
  128.  
  129.      LOCKIT , D:\FOOBAR\FOOFOO>
  130.  
  131. To change just the password, leave off the prompt:
  132.  
  133.      LOCKIT SECRET
  134.  
  135. As mentioned above, passwords (and prompts) are case-insensitive -- all
  136. are converted to upper-case.
  137.  
  138.  
  139. And now for something completely different...
  140. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  141. If you like LOCKIT and are overcome with gratitude, send me $5. I'll
  142. have a beer (or two), toasting you liberally all the way.
  143.  
  144. If you'd like a customized copy of LOCKIT (your default password,
  145. prompt, and even location of the log files), then send me $10 and let
  146. me know:
  147.  
  148.      . what password you'd like;
  149.      . what prompt you'd like; and
  150.      . where you'd like the log files stored.
  151.  
  152. (I'll also consider any other reasonable customization requests. And no,
  153. I *won't* add "Real-Time Multitasking Omni-Directional Radar." Get real.)
  154.  
  155. Anyway, I'll write you a custom copy to your specs, and upload it to your
  156. CIS mailbox. (That means that when you log onto CIS, you'll be told you
  157. have mail waiting. When you attempt to read it (GO MAIL), you'll be told
  158. it's a binary file. So you'll download it instead and voila! Your *own*
  159. copy of LOCKIT. Pretty spiffy, huh? Try and get this kind of service out
  160. of WordPerfect Corporation.)
  161.  
  162. If you represent a big company, write or Eplex me and we'll talk <g>.
  163.  
  164. As a bonus, I'm Canadian, so you don't have to worry about me accepting
  165. "foreign" currency -- I'll take whatever I can get. (Please, no loose
  166. coins!)
  167.  
  168. Send to:
  169.     Brian MacAskill
  170.     145 Duchess Ave.,
  171.     London, Ontario
  172.     CANADA
  173.     N6C 1N8
  174.  
  175. You are, of course, *IN NO WAY OBLIGATED* to pay me anything. And go
  176. ahead and reverse-engineer my code... the sight of it'll probably kill
  177. you anyhow.
  178.  
  179. Send any enhancement suggestions to me on CI$. My ID is 71041,1533.
  180.