xref: /original-bsd/usr.bin/lock/lock.1 (revision 18f6d767)
Copyright (c) 1980 Regents of the University of California.
All rights reserved. The Berkeley software License Agreement
specifies the terms and conditions for redistribution.

@(#)lock.1 6.1 (Berkeley) 04/29/85

LOCK 1 ""
C
NAME
lock - reserve a terminal
SYNOPSIS
lock [ -number ]

DESCRIPTION
Lock requests a password from the user, reads it again for verification and then it will normally not relinquish the terminal until the password is repeated. There are three other conditions under it will terminate: it accepts the password for root as an alternative to the one given by the user, it will timeout after some interval of time, and it may be killed by somebody with the appropiate permission. The default time limit is 15 minutes but it may be changed with the -number option where number is the time limit in minutes.
AUTHOR
Kurt Shoens. Timeout and other features by Eduardo Pelegri-Llopart.
BUGS
None known.