Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!swrinde!zaphod.mps.ohio-state.edu!sample.eng.ohio-state.edu!purdue!haven.umd.edu!uflorida!reef.cis.ufl.edu!jdb From: jdb@reef.cis.ufl.edu (Brian K. W. Hook) Newsgroups: comp.os.msdos.programmer Subject: Installing PASSWORD protection in config.sys (summary) Keywords: device, password, config.sys Message-ID: <28395@uflorida.cis.ufl.EDU> Date: 3 May 91 20:18:00 GMT References: <1991May3.000656.1462@ccu.umanitoba.ca> Sender: news@uflorida.cis.ufl.EDU Organization: UF CIS Dept. Lines: 30 About a week ago I posted a question asking: "How do I install a password protection program that I wrote in C in my config.sys file so that Ctrl-Break won't work." (Ctrl-Break works in AUTOEXEC.baT). General replies were: 1. On DOS 4.0x you can use the line: INSTALL=C:\PASS.EXE I have not tried this, since I don't have DOS 4.0x... 2. Use the SHELL= statement. If you do this, it remains memory resident and you must spawn() command.com to get the real interpreter working. Exec() will NOT work. 3. Write an ASM device driver. I don't know ASM well enough. 4. Write a C device driver. This requires knowing technical stuff about how to write a device driver, none of which I know. 5. Put "BREAK=OFF" in config.sys and stick the password program in AUTOEXEC.BAT...haven't tried yet. 6. Buy "BOOTCON.SYS". I did just that and it works beautifully :-). Multiple autoexecs and config.sys files, etc. Brian