Bootlock ~~~~~~~~ WHAT IS IT: ~~~~~~~~~~~ Programm to prevent your Amiga being used by unauthorised persons and fakes a sun bootmonitor. REQUIREMENTS: ~~~~~~~~~~~~~ OS 2.04. OS 2.1 or newer and graphics card or AGA (for higher resolutions re- commended. DISTRIBUTION: ~~~~~~~~~~~~~ This product may be freely distributed under the following restrictions: 1. The complete contents of the original archive must remain intact. 2. The original material may in no way be modified. 3. This product may not be distributed for profit. A nominal copying fee is authorized (for cost of materials and shipping and handling comparable to that charged by Fred Fish.) 4. Commercial distribution of this product without written permission from the author is forbidden. USE OF THIS PRODUCT: ~~~~~~~~~~~~~~~~~~~~ This product may be used under the following restrictions: 1. Non-commercial use of this product is free of charge. 2. Commercial use of this product without written permission from the author is forbidden. 3. Honorable mention of the author and product must be included in the client documentation (non-commercial and licensed-commercial.) 4. This product may not be used for malicious intent! DISCLAIMER: ~~~~~~~~~~~ This product is provided without any warranty, express or implied. The user of this product assumes full responsibility for any damage resulting from the use and/or misuse of this product. CONTENTS: ~~~~~~~~~ BL_Version.(rev|h) Generated by Froh's MyBump booticon.h Rudi's icon, with special treatment by me Read.me This file bootlock The executable bootlock.info Info file for Bootlock, with default tooltypes bootlock.(c|h) Source files fonts Directory containing the needed sunfont, which must be copied to your FONTS: drawer. Not my work, i got it from some Freeware distribution. SMakefile Makefile for SAS Smake USAGE: ~~~~~~ From Shell: Bootlock PWD=PASSWORD/K/A,SMR=SCREENMODEREQ/S,DIS=DISPLAY/K PASSWORD `secret` word that will end Bootlock and thus return control over the computer to the user. No restriction in characters, but it must be at least four letters and at most twelve letters long. No default value, Bootlock will not start if this parameter is omitted. SCREENMODEREQ switch to make an asl-screenmode-requester appear (only V38 and up). You can select the screenmode in which the lock- screen will open. As the selected mode is not saved, this option is more useful for tests to choose the best screenmode available. Default is off. Ok starts Bootlock in the current screenmode, Cancel quits Bootlock. DISPLAY name of the desired screenmode as taken from the display database, e.g. "SUPER72:Super-High Res Laced". Default is HIRESLACE. From Workbench: The tooltypes supported by Bootlock are the same as the shell parameters, execpt that no abrevations are possible. The supplied .info file contains several screenmodes, the screenmoderequester switch and one default password: joshua (don't ask why ;-) When started, Bootlock opens a two color screen (black and white) and displays a slightly modified picture of a Sun workstation in it's boot- monitor. It offers three commands: (b)oot, (c)ontinue and (n)ew command mode. While continue does nothing but lead to a simulated reboot, boot and new prompt for the "Prom Password", the password specified through the options. A wrong passwords causes a pause of ten seconds, every third wrong password will cause a longer simulated reboot. Esc-c will cause the screen to be redrawn, Del and backspace are not supported. As Bootlock uses a 16 pixel font (sunfont), it looks better the bigger the resoultion is. I'm using it with SUPER72, which gives about 900*600I and looks acceptable, but it would be best on a graphic card like Picasso or Retina. NTSC or even worse PAL interlaced or non-interlaced are, well, let's say `less preferable` ;-} How it works: ~~~~~~~~~~~~~ The locking is done by two ways. First i patched only ScreenTo(Back|Front), but that proved to be not suffiecient as Amiga-M/N apparently uses another mechanism. Now Bootlock is a commodity that runs at highest priority, discards all input events that have Qualifiers like Amiga, Alt or Ctrl. Also, it reacts to INACTIVEWINDOW by reactivating itself and popping the screen back to front. If you are using Bootlock and find any workaround (leaks in Bootlock), please notify me, so i can search for ways of improvement. Known problems: ~~~~~~~~~~~~~~~ Screen blankers. I'm using FracBlank, ASwarmII, fBlanker and Blanker (C=), but the only one to make problems is FracBlank. It's screen opens behind Bootlock's screen and therefore blanks nothing. If Bootlock suddenly fails with newer versions of the OS, please drop me some lines. Credits: ~~~~~~~~ Rudolf König for the original program Hakan Tandogan Frohwalt Egerer for beta-testing Henning Schmiedehausen CONTACTING THE AUTHOR: ~~~~~~~~~~~~~~~~~~~~~~ I can be reached by the following means: Internet: bdraschk@cip.informatik.uni-erlangen.de IRC: Arthur UUCP: arthur@thera.(adsp|nbg).sub.org Snail: Bernd Raschke Hartmannstraße 129 / Zi. 426 D-91058 Erlangen