home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / beehive / utilitys / password.arc / PASSWORD.DOC next >
Text File  |  1990-07-21  |  3KB  |  51 lines

  1. PASSWORD.DOC
  2.  
  3. This library contains a commented disassembly of the "PASSWORD" program
  4. from "CP/M Utilities, Volume 2, Phil Wheeler, 16th December 1983" as
  5. distributed on SIG/M a SIG/M Public Domain software library disk.
  6.  
  7. Having already had my 10M hard disk trashed once by a "Trojan Horse"-type
  8. Public Domain program, I have made a resolve to (wherever possible)
  9. disassemble any P.D. programs I receive BEFORE experimenting with them.
  10. I am pleased to say I have not yet found any program with malicious intent
  11. (apart from the unfortunate original case), but have learnt quite a deal
  12. from my efforts in this area, and even been able to improve the utility of
  13. some programs by adding to or altering facets of their operation.
  14.  
  15. I have also made a practice of putting the results of my labours into the
  16. public domain, in the hope that it will inspire people to add their own
  17. input to the source code and improve it still further, and to encourage
  18. writers of public domain software to provide source code with their
  19. creations.
  20.  
  21. This disassembly was carried out using the public domain DazzleStar
  22. disassembler, and a .MAC file (for Microsoft's M80 assembler) was
  23. produced. This was subsequently edited for greater clarity. The original
  24. PASSWORD.COM file as well as the DazzleStar control (.DZ) file and the
  25. commented source code (.MAC) are included in this library. I have
  26. reassembled the .MAC file and checked that the resulting .COM file is
  27. equivalent in operation to the original.
  28.  
  29.         Ted Harper
  30.         6th Feb, 1987.
  31.  
  32.  
  33. The following documentation is a direct copy of that provided with the
  34. original release of the program :-
  35.  
  36. This  program  allows  a  CP/M system  to  be  password  protected.  By 
  37. including this program as either the autostart command (for CP/M V2.2), 
  38. or as the first line in PROFILE.SUB (for CP/M V3.x),  access to CP/M is 
  39. denied without knowing the current password. Command:
  40.  
  41.           PASSWORD            - Wait for password
  42.           PASSWORD NONE       - Set password check off
  43.           PASSWORD password   - Set new password to 'password'
  44.  
  45. To  change  the password,  the current password must  be  entered.  The 
  46. program  stores  the new password within itself on  drive  A:.  If  the 
  47. password  check  is  off,  the  program exits  without  waiting  for  a 
  48. password.  No  guarantees  are  given  for the  infallibility  of  this 
  49. program - its just a useful check on system access.
  50. password.  No  guarantees  are  given  for the  infallibility  of  this 
  51. program - its just a useful ch