Commit | Line | Data |
---|---|---|
d9d7a9f0 | 1 | .\" Copyright (c) 1987, 1990 The Regents of the University of California. |
fcc2be53 | 2 | .\" All rights reserved. |
f5fe5f05 | 3 | .\" |
d9d7a9f0 | 4 | .\" %sccs.include.redist.man% |
fcc2be53 | 5 | .\" |
d9d7a9f0 | 6 | .\" @(#)lock.1 6.6 (Berkeley) %G% |
f5fe5f05 | 7 | .\" |
d9d7a9f0 CL |
8 | .Dd |
9 | .Dt LOCK 1 | |
10 | .Sh NAME | |
11 | .Nm lock | |
12 | .Nd reserve a terminal | |
13 | .Sh SYNOPSIS | |
14 | .Nm lock | |
15 | .Op Fl p | |
16 | .Op Fl t Ar timeout | |
17 | .Sh DESCRIPTION | |
18 | .Nm Lock | |
00b2d8a9 KB |
19 | requests a password from the user, reads it again for verification |
20 | and then will normally not relinquish the terminal until the password is | |
21 | repeated. | |
22 | There are two other conditions under which it will terminate: it | |
23 | will timeout after some interval of time and it may be killed by someone | |
24 | with the appropriate permission. | |
d9d7a9f0 CL |
25 | .Po |
26 | Options: | |
27 | .Pp | |
28 | .Tw Fl | |
29 | .Tc Fl t | |
30 | .Ws | |
31 | .Ar timeout | |
32 | .Cx | |
33 | The time limit (default 15 minutes) is changed to | |
34 | .Ar timeout | |
35 | minutes. | |
36 | .Tp Fl p | |
37 | Causes | |
38 | .Nm lock | |
00b2d8a9 | 39 | to use the user's current password instead of requesting another one. |
d9d7a9f0 CL |
40 | .Tp |
41 | .Sh HISTORY | |
42 | .Nm Lock | |
43 | appeared in 3 BSD. |