The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

lock - reserves a terminal

SYNOPSYS

lock [-n] [-p] [-t timeout]

DESCRIPTION

lock requests a password from the user, reads it again for verification and then will normally not relinquish the terminal until the password is repeated. There are two other conditions under which it will terminate: it will timeout after some interval of time and it may be killed by someone with the appropriate privileges.

OPTIONS

All of the specified options are optional.

-n

Don't use a timeout value. Terminal will be locked forever.

-p

A password is not requested, instead the user's current login password is used.

-t timeout

The time limit (default 15 minutes) is changed to timeout minutes.

CAVEATS

The BSD version of the lock command supports using an S/Key to lock the terminal.

AUTHOR

The Perl implementation of lock was writtem by Aron Atkins, atkins@gweep.net.

COPYRIGHT and LICENSE

This program is copyright by Aron Atkins 1999.

This program is free and open software. You may use, copy, modify, distribute and sell this program (and any modified variants) in any way you wish, provided you do not restrict others to do the same.