AminetAminet
Search:
84520 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/shell/ilock.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Simple password protection
Author:mlelstv at serpens.rhein.de
Uploader:mlelstv serpens rhein de
Type:util/shell
Architecture:m68k-amigaos
Date:1995-04-29
Download:http://aminet.net/util/shell/ilock.lha - View contents
Readme:http://aminet.net/util/shell/ilock.readme
Downloads:928

Sometimes it comes handy to prevent others from using your Amiga
while you are away. A program that locks user input until someone
types in a correct password is sufficient for this purpose.

This is what ilock does. It opens a screen and prompts you
for a password and a second time to verify your typing. Ilock
exists when you type in the password a third time.

While ilock is active it has installed a high priority input
handler that prevents other programs from seeing keyboard or
mouse input. It does pass through timer ticks, disk change
and newprefs messages to keep other programs happy.

Any keypress will move the prompt screen into the foreground if it
was obscured by some other screen created by another task (say a
screen blanker).

For those that do not want to type in a new password every time
you can also pass ilock two parameters: a username and an encrypted
password (I didn't want to keep the password visible in scripts).
You can copy the username and encrypted password directly from
your AS225 password database, the same (breakable) ACrypt function
is used for verification.

If you do not have AS225 you can create an encrypted password
with the ACrypt program in this archive. Acrypt accepts a username
parameter and then prompts you twice for a password of up to 8
characters. If both passwords are identical it prints the
encrypted version. If you don't like cut & paste you can store
the output in an environment variable, e.g.:

> setenv MYCPWD `acrypt user mlelstv`
Passwd: ********
Again:  ********
> echo $MYCPWD
IErnVKfa_EB
> ilock user mlelstv cryptpwd $MYCPWD

------
1.0   Initial relase
1.1   When using a crypted password the input buffer was not
      cleared correctly. If the password was shorter than
      eight characters and you entered a longer password you
      could never enter the shorter correct password. Fixed.

Michael van Elst


Contents of util/shell/ilock.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1197    1596  75.0% -lh5- 3546 Apr 28  1995 acrypt
[generic]                 2930    4264  68.7% -lh5- 57c6 Apr 29  1995 ilock
[generic]                  996    2008  49.6% -lh5- 1ec4 Apr 29  1995 ilock.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         3 files    5123    7868  65.1%            Apr 29  1995

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>