Commit | Line | Data |
---|---|---|
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 | |
10 | lock \- 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 |
19 | requests a password from the user, reads it again for verification and |
20 | then it will normally not relinquish the terminal until the password is | |
21 | repeated. There are three other conditions under it will terminate: | |
22 | it accepts the password for root as an alternative to the one given | |
23 | by the user, it will timeout after some interval of time, | |
24 | and it may be killed by somebody with the appropiate permission. | |
25 | The default time limit is 15 minutes but it may be changed with the | |
26 | .B \-number | |
27 | option where | |
28 | .I number | |
29 | is the time limit in minutes. | |
f5fe5f05 | 30 | .SH AUTHOR |
00e6148f | 31 | Kurt Shoens. Timeout and other features by Eduardo Pelegri-Llopart. |
f5fe5f05 | 32 | .SH BUGS |
00e6148f | 33 | None known. |