|
|
1.1 root 1: .\" Copyright (c) 1987, 1990 The Regents of the University of California.
2: .\" All rights reserved.
3: .\"
4: .\" Redistribution and use in source and binary forms are permitted provided
5: .\" that: (1) source distributions retain this entire copyright notice and
6: .\" comment, and (2) distributions including binaries display the following
7: .\" acknowledgement: ``This product includes software developed by the
8: .\" University of California, Berkeley and its contributors'' in the
9: .\" documentation or other materials provided with the distribution and in
10: .\" all advertising materials mentioning features or use of this software.
11: .\" Neither the name of the University nor the names of its contributors may
12: .\" be used to endorse or promote products derived from this software without
13: .\" specific prior written permission.
14: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
15: .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
16: .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17: .\"
18: .\" @(#)lock.1 6.7 (Berkeley) 7/24/90
19: .\"
20: .Dd July 24, 1990
21: .Dt LOCK 1
22: .Sh NAME
23: .Nm lock
24: .Nd reserve a terminal
25: .Sh SYNOPSIS
26: .Nm lock
27: .Op Fl p
28: .Op Fl t Ar timeout
29: .Sh DESCRIPTION
30: .Nm Lock
31: requests a password from the user, reads it again for verification
32: and then will normally not relinquish the terminal until the password is
33: repeated.
34: There are two other conditions under which it will terminate: it
35: will timeout after some interval of time and it may be killed by someone
36: with the appropriate permission.
37: .Po
38: Options:
39: .Pp
40: .Tw Fl
41: .Tc Fl t
42: .Ws
43: .Ar timeout
44: .Cx
45: The time limit (default 15 minutes) is changed to
46: .Ar timeout
47: minutes.
48: .Tp Fl p
49: Causes
50: .Nm lock
51: to use the user's current password instead of requesting another one.
52: .Tp
53: .Sh HISTORY
54: .Nm Lock
55: appeared in 3 BSD.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.