4.3BSD-Reno/src/usr.bin/lock/lock.1

Compare this file to the similar file:
Show the results in this format:

.\" Copyright (c) 1987, 1990 The Regents of the University of California.
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms are permitted provided
.\" that: (1) source distributions retain this entire copyright notice and
.\" comment, and (2) distributions including binaries display the following
.\" acknowledgement:  ``This product includes software developed by the
.\" University of California, Berkeley and its contributors'' in the
.\" documentation or other materials provided with the distribution and in
.\" all advertising materials mentioning features or use of this software.
.\" Neither the name of the University nor the names of its contributors may
.\" be used to endorse or promote products derived from this software without
.\" specific prior written permission.
.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
.\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
.\"
.\"     @(#)lock.1	6.7 (Berkeley) 7/24/90
.\"
.Dd July 24, 1990
.Dt LOCK 1
.Sh NAME
.Nm lock
.Nd reserve a terminal
.Sh SYNOPSIS
.Nm lock
.Op Fl p
.Op Fl t Ar timeout
.Sh DESCRIPTION
.Nm Lock
requests a password from the user, reads it again for verification
and then will normally not relinquish the terminal until the password is
repeated.
There are two other conditions under which it will terminate: it
will timeout after some interval of time and it may be killed by someone
with the appropriate permission.
.Po
Options:
.Pp
.Tw Fl
.Tc Fl t
.Ws
.Ar timeout
.Cx
The time limit (default 15 minutes) is changed to
.Ar timeout
minutes.
.Tp Fl p
Causes
.Nm lock
to use the user's current password instead of requesting another one.
.Tp
.Sh HISTORY
.Nm Lock
appeared in 3 BSD.