need to change iphlen earlier; icmp_error needs original ip_len; cleanups
[unix-history] / usr / src / usr.bin / lock / lock.1
CommitLineData
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
19requests a password from the user, reads it again for verification
20and then will normally not relinquish the terminal until the password is
21repeated.
22There are two other conditions under which it will terminate: it
23will timeout after some interval of time and it may be killed by someone
24with the appropriate permission.
d9d7a9f0
CL
25.Po
26Options:
27.Pp
28.Tw Fl
29.Tc Fl t
30.Ws
31.Ar timeout
32.Cx
33The time limit (default 15 minutes) is changed to
34.Ar timeout
35minutes.
36.Tp Fl p
37Causes
38.Nm lock
00b2d8a9 39to use the user's current password instead of requesting another one.
d9d7a9f0
CL
40.Tp
41.Sh HISTORY
42.Nm Lock
43appeared in 3 BSD.