xref: /386bsd/usr/share/man/cat1/lock.0 (revision a2142627)
1LOCK(1)                     386BSD Reference Manual                    LOCK(1)
2
3NNAAMMEE
4     lloocckk - reserve a terminal
5
6SSYYNNOOPPSSIISS
7     lloocckk [--pp] [--tt _t_i_m_e_o_u_t]
8
9DDEESSCCRRIIPPTTIIOONN
10     LLoocckk requests a password from the user, reads it again for verification
11     and then will normally not relinquish the terminal until the password is
12     repeated.  There are two other conditions under which it will terminate:
13     it will timeout after some interval of time and it may be killed by
14     someone with the appropriate permission.
15
16     Options:
17
18     --pp          A password is not requested, instead the user's current login
19                 password is used.
20
21     --tt _t_i_m_e_o_u_t  The time limit (default 15 minutes) is changed to _t_i_m_e_o_u_t
22                 minutes.
23
24HHIISSTTOORRYY
25     The lloocckk command appeared in 3.0BSD.
26
27BSD Experimental                 July 27, 1991                               1
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67