============================================================================= ALOCK Version 1.0 Copyright (c) 1986 Asher Winata ALOCK is used to protect your system from unwanted users. To make it work, you have to have the following statement in your CONFIG.SYS: DEVICE=[\path\]ALOCK.SYS If you have the file ALOCK.SYS in the root directory, you do not need to specify the path. Unlike batch files (such as AUTOEXEC.BAT), this implementation can not be bypassed from the keyboard (Cntrl-Break will not work). However, I make no warranty of any kind for the use of this software on your system. If you like the program, please send me $15 as appreciation. In return, you will receive one free update in the future. (The next release will have new features such as: screen blanking, lock and unlock keyboard while you're gone by pressing a key (even from within a program - to unlock it you will need to know the password), improve hard-disk protection, etc.) ============================================================================= After you install the program (by adding DEVICE=ALOCK.SYS to your CONFIG.SYS file and having the file ALOCK.SYS in your root directory), reboot your system. You will then asked to enter a system password. The current password in the program is 'Password' (be sure to enter upper and lower case as required, this program is case sensitive). You can change the password as you like, but the maximum number of characters allowed for the password is 15 characters. To change the password *** use CABLE from f_util1 *** or from debugger, do the following: =================== NOTES ===================== = A> or B> or C> ------> DOS prompt = = - (minus sign) ------> Debugger prompt = =============================================== C>debug alock.sys <------ (1) to enter debugger -d 150 15f <------ (2) to dump memory location 150 to 15F xxxx:0150 08 50 61 73 73 77 6F 72-64 20 20 20 20 20 20 20 .Password -a 150 <------ (3) to start assembling the program at 150 xxxx:0150 dba,'hellothere' <------ (4) entering new password starting at 150 xxxx:015B <------ (5) simply press key here to exit -d 150 15f <------ (6) to display the changes (optional) xxxx:0150 0A 68 65 6C 6C 6F 74 68-65 72 65 20 20 20 20 20 .hellothere -w <------ (7) to save the changes you just made Writing nnnn bytes -q <------ (8) to exit debugger C> Explanation (do not type the quotes unless told so): --------------------------------------------------- 1) enter 'debug alock.sys' and press '' key at the DOS prompt - you will see the '-' prompt (this is the prompt for the debugger) 2) enter 'd 150 15f' and press '' key to dump or display the contents of the memory location starting at 150 ending at 15F to the screen. - you will see some numbers (funny looking to some of you), this is the password itself displayed in HEX with the ASCII on the right end 3) enter 'a 150' and press '' key to start assembling the program at memory location 150. - you will see 'xxxx:0150' on the screen 4) enter 'dbn,' and press '' to start entering the new password into the program, where: - db is required (stands for define bytes whatever it means) - n is the length of the new password (number of characters) - , is required (ordinary comma) - is the new password you want to enter enclosed in single quotes (ex: 'Password', 'Hello', 'Oh my ...', etc.) - you will then see 'xxxx:015B' on the screen 5) simply press '' key to let the debugger know that we are through assembling the program. - you will see the '-' prompt again on the screen 6) enter 'd 150 15f' and press '' key to dump or display the contents of the memory location starting at 150 ending at 15f to the screen again. - you will see some numbers (funny looking to some of you), this is the new password itself displayed in HEX. This step is optional, only to make sure that you have entered everything correctly. 7) enter 'w' and press '' at the '-' prompt to save the changes. - you will see 'Writing nnn bytes' and the '-' prompt again on the screen 8) enter 'q' and press '' to exit debugger. - you will, finally, see the old DOS prompt. ============================================================================= If you forget your password, the only way to access your system is by booting your system from floppy drive A and use debugger to display and change your password. (Next release will show you how to prevent other people from doing this!). I recommend that you hide your CONFIG.SYS and ALOCK.SYS files using the CHMOD command. I hope you find this program to be useful. Send contributions, comments, and suggestions to: Asher Winata 3637 Trinity Mills #1813 Dallas, Texas 75252 =============================================================================