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 | .\" | |
d1fa89aa | 5 | .\" @(#)lock.1 6.3 (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 | 13 | [ |
d1fa89aa KB |
14 | .B -p |
15 | ] [ | |
16 | .B -number | |
00e6148f KM |
17 | ] |
18 | .br | |
f5fe5f05 | 19 | .SH DESCRIPTION |
d1fa89aa KB |
20 | \fILock\fP requests a password from the user, reads it again for verification |
21 | and then it will normally not relinquish the terminal until the password is | |
22 | repeated. There are three other conditions under which it will terminate: it | |
23 | accepts the password for root as an alternative to the one given by the | |
24 | user, it will timeout after some interval of time, and it may be killed by | |
25 | somebody with the appropriate permission. The default time limit is 15 minutes | |
26 | but it may be changed with the \fI-number\fP option where \fInumber\fP is the | |
27 | time limit in minutes. The \fI-p\fP option has \fIlock\fP use the user's | |
28 | standard password instead of requesting another one. |