This page is orphaned, abandoned, and unmaintained.
No further updates will be made to this page, and accuracy is neither expected nor guaranteed. It is left in place solely for historical interest.
lock is a simple program which will lock an open terminal window, be it an xterm, or one of the Linux virtual terminals.
When a terminal is locked you may unlock it by entering your login password. The software relies upon the PAM libraries to do the actual authentification, so it should be fairly customizable.
Download the source code from the following URL:
- lock-1.0.tar.gz [7k]
Many times I'll want to leave my desk at work and yet have open root shells upon boxes - I don't want to use xlock hence this simple program..
If you're using Debian GNU/Linux you'd probably be better off using xautolock which will lock your desktop with a screensaver if you're idle for a few minutes.