home *** CD-ROM | disk | FTP | other *** search
- *****************************************************************************
- * *
- * PUBLIC DOMAIN SOFTWARE LICENSE *
- * *
- * The following program(s) and/or data file(s) are declared Public Domain. *
- * *
- * Provided the end user sticks to the following author's wishes, he or she *
- * is authorized to use, copy, analyze and improve the items. *
- * *
- * Conditions of use: *
- * ------------------ *
- * *
- * 1) No part of this distribution will be omitted (incl. this README file) *
- * 2) None of the Copyright texts will be modified. *
- * 3) None of the files should be stored and/or converted onto environment- *
- * ally damaging media. (paper listings, faxes, etc...) *
- * *
- * *
- * The Author, *
- * *
- * Laurence Vanhelsuwé *
- * *
- * Auroville 26/JAN/94 *
- * *
- * *
- *****************************************************************************
-
- Program Title(s): LIN.EXE, LOUT.EXE, PASS.EXE (C) L. Vanhelsuwé 1994
-
- Author: Laurence Vanhelsuwé
-
-
- 0. Short description:
- ------------------
-
- LIN.EXE : Log-In command. This command will prompt a user for his or
- her user ID and password and, if the program validates the user,
- it will record the machine access in a logfile.
-
- LOUT.EXE : Log-Out command. Closes the logon session and updates the log
- file.
-
- PASS.EXE : Used by the system operator only, this command allows the listing
- and defining of authorized system users.
-
-
- 1. Requirements/Installation:
- --------------------------
-
- These programs require an ANSI compliant text-mode display driver.
-
- On Amigas this is the by default the case. ( smiley follows... 8O )
-
- On IBM PC compatibles, this means you need to have ANSI.SYS installed.
- This is done by adding a line like:
-
- DEVICEHIGH \DOS\ANSI.SYS
-
- to your CONFIG.SYS file.
-
- To install the login/logout system, just copy the three programs into
- any directory which is visited by your command PATH.
-
- Then modify your machine's reboot BATCH file (typically AUTOEXEC.BAT,
- startup-sequence or .login) to call the LIN command as the first command
- the machine executes.
-
- 2. How to use it:
- --------------
-
- Simply install the programs as outlined above.
-
- Then define authorized users with the 'PASS' command.
- You will be prompted to enter the 'System operator' password.
- This released version needs the password "AGRCRGA".
-
- To get a list of all currently authorized users of the system, enter the
- system operator's password, immediately followed by the word 'USERS'.
- In this case "AGRCRGAUSERS".
-
- 3. Internals:
- ----------
-
- In addition to the three command files, the commands themselves create
- and/or maintain two data files:
-
- On Amigas:
-
- DEVS:USERLOG.DAT
- DEVS:PASSWORDS.DAT
-
- On PCs:
-
- /DOS/USERLOG.DAT
-
- /DOS/PASSWOR.DAT
-
- Therefore this /DOS directory has to exist for these programs to function!
-
- Both data file are plain ASCII files to facilitate viewing.
-
- The USERLOG.DAT file keeps track of all validated machine accesses.
- Only LIN and LOUT modify this file.
- View this file to analyze a machine's usage patterns.
-
- The PASSWOR.DAT file lists the authorized users and their passwords.
- These strings are encoded so it is pretty useless to view this file.
- PASS Encodes user IDs and passwords and LIN automatically decodes them
- to match entered non-encoded strings.
-
- 4. Limitations/Warnings:
- ---------------------
-
- If you want to change the 'System Operator's password, I'm afraid you'll
- have to use a generic file editing tool (like NewZap, for example).
- Or you could recompile the program PASS.C with a new password defined.
-
- Both data files are allowed to grow unchecked in the current versions.
- Especially the USERLOG.DAT file grows quickly, so frequent cropping
- or deleting of this file is advised.
-
-
- **!! CRASH !!**
-
- Never edit any files manually as this will surely confuse the commands,
- possibly leading to a crash.
-
- Also no error checking is done in case of READ or WRITE errors on disks.
-
-
- 5. History:
- --------
-
- The idea for these programs came from a great New Year's Eve party.
-
- LLP Have been in constant use for half a year so far on my machine.
- The log file is just 32K and contains 6 months worth of auditing
- information... not bad.
-
- 6. Future:
- -------
-
- Dependent on user's feedback.
-
-
- 7. Credits:
- --------
-
- L. Vanhelsuwé Jayamoorti (Last School)
- Christinastraat 105
- B-8400 Oostende
- Belgium
-