home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / pw.zip / PW.DOC next >
Text File  |  1994-07-05  |  4KB  |  75 lines

  1.                       Documentation for PW.EXE
  2.  
  3. CAUTION: THIS PROGRAM CAN BE DANGEROUS IF MISUSED! Worst-case, it can 
  4. make it impossible for you to boot your system from the hard drive at 
  5. all. Read this documentation CAREFULLY before you try to use it.
  6.  
  7. The program's purpose is to secure your system against unauthorized 
  8. users. To use, place the program in your boot directory and call it 
  9. as the last line in your AUTOEXEC.BAT file (i.e., the last line of 
  10. that file should read "PW" -- without the quote marks, of course).
  11.  
  12. The first time you start the program -- whether from the command line 
  13. or via AUTOEXEC.BAT -- touch the "ENTER" key when it asks for a 
  14. password. It will then ask whether you want to change your password. 
  15. You can type in a string of any length up to 255 characters (which 
  16. will echo to the screen but is color-blinded). Spaces, or any other 
  17. standard keystroke (ASCII range 32 to 126 inclusive), are accepted; 
  18. and it IS case-sensitive, so caps and lower-case letters are NOT 
  19. interchangeable. It will demand confirmation -- i.e., the same string 
  20. again, character for character. That string then becomes your 
  21. password. After each use (i.e., after you've entered the correct 
  22. password) it offers you an opportunity to change your password, with 
  23. the same confirmation requirement.
  24.  
  25. The program traps all forms of CTRL-BREAK; in other words, once 
  26. you're in it, the ONLY way out is to type in the correct password. 
  27. You'll have three tries; after that the program goes into an endless 
  28. loop and won't either take an input or let you out except with a 
  29. reboot. (It also goes IMMEDIATELY into that endless loop if you hit a 
  30. CTRL-BREAK combination, so be prepared to reboot if you don't trust 
  31. me without trying it yourself.)
  32.  
  33. The password is stored, in heavily encrypted form (I really don't 
  34. think the algorithm is breakable), in a separate data file called 
  35. "PW". If you've defined your path to include the subdirectory where 
  36. you have the DOS or OS/2 "ATTRIB.EXE" utility, that file will be both 
  37. hidden and write-protected. (If not, you may get error messages at 
  38. the start and end of the program and the data file won't be protected 
  39. in any way, but it'll run otherwise.) Corruption of this data file 
  40. could cause the program not to accept your password; if so, the only 
  41. way out is to boot via a floppy and either take the PW line out of 
  42. your AUTOEXEC.BAT file or use ATTRIB to restore PW (no extension) to 
  43. writable, non-hidden status and then delete it. Since a would-be 
  44. bootleg user of your machine could do the same, you're probably best 
  45. off not advertising the method of protection you're using.
  46.  
  47. This works in either DOS or OS/2, although you get a flicker of a 
  48. system-error message under OS/2; I haven't troubled to do anything 
  49. with it, because it doesn't affect functionality. I've also not tried 
  50. it as an automatic boot in OS/2, but it should work fine. You can 
  51. also use it to protect any OS/2 session by creating a special 
  52. AUTOEXEC file for that session, although this is obviously vulnerable 
  53. to changing the settings.
  54.  
  55. NOTO BENE: If you do decide to install and use PW, make sure you 
  56. establish a password and protect that password carefully. Any 
  57. unauthorized user who can get into your system will be afforded the 
  58. same opportunity as you to change the password, meaning YOU might be 
  59. the one forbidden entry into your own system.
  60.  
  61. If you try this, a report on how you like it -- and any suggestions 
  62. for improvement -- would be appreciated.
  63.  
  64. Colin Barrett
  65. 12166 Holly Knoll Circle
  66. Great Falls, VA 22066
  67. July 1, 1994
  68.  
  69. DISCLAIMER: This program is in the public domain, and is made 
  70. available at no cost or obligation and at the user's sole risk. The 
  71. developer assumes no responsibility or liability for any problems or 
  72. injuries that may result from its use or misuse.
  73.  
  74. CB
  75.