home *** CD-ROM | disk | FTP | other *** search
- locktty 1.1
-
- A long time I was looking for a utility to lock the screen of an ASCII
- terminal, something like lockscreen or xlock on Sunview resp. X Windows,
- but didn't find anything.
-
- OK, here is "locktty". To keep it portable even for systems with a
- shadow password file, I keep the crypted password in a file in the
- user's home directory. If the file does not exist, the user is
- prompted for a password.
-
- The password file can be changed by using the -p option.
-
- Changes to 1.0:
- - crypt() and getenv() predeclared (for ANSI compilers)
- - errno declared (isn't declared in every errno.h)
- - inserted fflush() after every (f)puts()
- - unlock prompt is really erased now
- - the number of failed unlock attempts is displayed after unlock
- - username and hostname are displayed in the unlock prompt
-
- These changes were inspired or suggested by the following people:
- David A. Berson, Tim Dawson, Greg Miller, Chris Phillips, Randy Hall.
-
- The program is without any changes successfully tested on
- - SunOS 4.1 on sun3, sun4, with cc, gcc, but on a sun3 with cc and -O it
- throws core sometimes,
- - Interactive ix/386 2.0.2,
- - Ultrix Worksystem V2.1 (Rev. 14),
- - HP-UX 7.00,
- - IRIX System V Release 3.2.1,
- - Nixdorf TOS 4.0.12,
- - IBM AIX 1.2 (PS/2),
- - ConvexOS Release V9.0.
-
- To compile it under Interactive UNIX, type "make isc", otherwise just
- type "make" to build locktty.
-
- Please send corrections, improvements, and flames to
-
- nickel@cs.tu-berlin.de (Juergen Nickelsen)
-