home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programming
/
powerprogramming1994.iso
/
progtool
/
keyboard
/
lock.arc
/
LOCK.DOC
< prev
Wrap
Text File
|
1990-01-28
|
2KB
|
69 lines
LOCK utility V1.0 (c) 23-Nov-1989
The LOCK program for a DOS version 2 and up locks the
MS-DOS / PC-DOS system from further use until the correct
password is entered. It seems ludicrous to lock a MS-DOS
system when a reboot, or another system diskette could
allow entry. But allot of systems are now on some sort
of network and the network session connection's needs to
be protected.
LOCK : Copyright (c) 1989 by John Wolchak.
This program is released into the Public Domain.
John
The syntax of the command is:
LOCK
Then the program will prompt for the lock password, it's
verification and then the ultimate prompt for the unlock
password. Example:
lock
Lock password>
Verification>
Unlock password>
If LOCK has any arguments a help message is issued.
Note: The maximum password is eigthy characters, with
all lower case converted to upper case. It's hard enough
to remember a password let alone a what case to use on a
temporary password. All spaces and tabs are eliminated,
so phrases can be used more easily.
LOCK terminates with int 21h, AH=4ch, the intention is
that the program can be called from another program, but
I guess that will have to wait for version 2.
LOCK returns errorlevel codes, which are:
command, help issued 00h
don't know about MS-DOS version 1.x 01h
normal end of program 02h
John Wolchak
56 Physics Building
University of Saskatchewan
Saskatoon, Saskatchewan
Canada S7K 0W0
Phone: (306) 966-4852
NetNorth (BITNET): Wolchak@Sask
Inter_Network: Wolchak@Admin.Usask.CA