BSD 4_3_Tahoe development
[unix-history] / usr / man / cat1 / lock.0
LOCK(1) UNIX Programmer's Manual LOCK(1)
N\bNA\bAM\bME\bE
lock - reserve a terminal
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
l\blo\boc\bck\bk [ -\b-p\bp ] [ -\b-n\bnu\bum\bmb\bbe\ber\br ]
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
_\bL_\bo_\bc_\bk 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 -_\bn_\bu_\bm_\bb_\be_\br option where _\bn_\bu_\bm_\bb_\be_\br is the time
limit in minutes. The -_\bp option has _\bl_\bo_\bc_\bk use the user's
standard password instead of requesting another one.
Printed 7/9/88 April 26, 1987 1