4.3BSD-Tahoe/usr/man/cat1/lock.0
LOCK(1) UNIX Programmer's Manual LOCK(1)
NNAAMMEE
lock - reserve a terminal
SSYYNNOOPPSSIISS
lloocckk [ --pp ] [ --nnuummbbeerr ]
DDEESSCCRRIIPPTTIIOONN
_L_o_c_k 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 which 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 appropriate permis-
sion. The default time limit is 15 minutes but it may be
changed with the -_n_u_m_b_e_r option where _n_u_m_b_e_r is the time
limit in minutes. The -_p option has _l_o_c_k use the user's
standard password instead of requesting another one.
Printed 7/9/88 April 26, 1987 1