;;09-21-86 EGPASS.DOC v2 01/11/87 Eric Gans French Dep't UCLA Los Angeles, CA 90024 Version 2 update: PASS now accepts passwords between 3 and 12 letters (change using PASCH.COM v2). If you get the password wrong, it looks on A0: for OFF.COM or SAFETY.COM and runs that; if it doesn't find either name, it goes into and endless loop. PASS now prints a "#" for each letter typed, so you can keep track of what you're doing when you enter your password. * * * The password program PASS.COM affords a modest degree of protection for users of systems that boot from a hard (i.e. fixed) disk. It gives the user three chances to enter the correct pasword, then either runs the hard-disk protection program SAFETY.COM (often renamed OFF.COM) or goes into an endless loop. By autoloading PASS on (cold) boot, you make it impossible to get around the password without rebooting from the floppy drive (and you need a floppy with system tracks to do it). This should prevent casual pests from using your computer when you're not around, although of course it won't stop the hackers. The password must be between three and twelve letters long, and can contain any printable character (lower-case will be folded to upper-case). The original password is ... you guessed it, PASSWORD. The enclosed file PASCH.COM (v2) can be used to change the password (don't leave it on your disk!). NB - previous versions of PASCH.COM will not work with PASS v2! Autoloading can be accomplished most simply by using CMDLN. Or you can patch the CCP in SYSGEN, PUTSYS etc. & then write the new image back to the system tracks of the hard disk. On the Kaypro-10 the file is called PUTSYS.COM. The patch location is at 987h, the standard location of the CCP on all such programs. 987h --> 4 (number of characters) 988h --> 50h (=P) 989h --> 41h (=A) 98ah --> 53h (=S) 98bh --> 53h (=S) 98ch --> 0 (terminator) The same patch can be placed on floppies (it requires a copy of PASS on each disk). NB -- On some systems a file autoloaded in this manner will be run at each warm boot. The K-10 doesn't do this because the BIOS warm boot routine zeroes the character count byte at CCP+7. If your BIOS doesn't do this you should patch it, unless you want to enter passwords all day long.