4.3BSD beta release manual page
[unix-history] / usr / src / usr.bin / lock / lock.1
CommitLineData
f5fe5f05
KM
1.\" Copyright (c) 1980 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
00e6148f 5.\" @(#)lock.1 6.1 (Berkeley) %G%
f5fe5f05 6.\"
00e6148f 7.TH LOCK 1 ""
f5fe5f05
KM
8.UC
9.SH NAME
10lock \- reserve a terminal
11.SH SYNOPSIS
12.B lock
00e6148f
KM
13[
14.B \-number
15]
16.br
f5fe5f05
KM
17.SH DESCRIPTION
18.I Lock
00e6148f
KM
19requests a password from the user, reads it again for verification and
20then it will normally not relinquish the terminal until the password is
21repeated. There are three other conditions under it will terminate:
22it accepts the password for root as an alternative to the one given
23by the user, it will timeout after some interval of time,
24and it may be killed by somebody with the appropiate permission.
25The default time limit is 15 minutes but it may be changed with the
26.B \-number
27option where
28.I number
29is the time limit in minutes.
f5fe5f05 30.SH AUTHOR
00e6148f 31Kurt Shoens. Timeout and other features by Eduardo Pelegri-Llopart.
f5fe5f05 32.SH BUGS
00e6148f 33None known.