home *** CD-ROM | disk | FTP | other *** search
- Utilties
- ----------------------------------------------------------------------------
-
- There are a number of supplied example utilities with the users code:
- getty, adduser, lusers and rectime.
-
- `getty' implements a psuedo-clone of the Unix equivalent. It prints up
- `login:', waits for a username, prints `Password:', waits for a password,
- and then attempts to verify the pair. If they were valid, it sets some
- environment variables and exits. If not, it returns to the start. It protects
- against Alt-Break (etc.) by recursively registering an atexit() handler of
- main(). This is probably prohibited in ANSI C. It will also log the times and
- events for you by use of the user_log() function.
-
- `adduser' is a simple script to add users to the current password database.
- `lusers' will list all the users in the password database, and `rectime' will
- log a message in the users log database.
-
- The `Password' directory contains something I normally place in !Boot.Utils
- and run in !Boot.!Run; it supposedly prevents idle passers-by breaking into
- my machine. Look at it for an example.
-