File:  [CSRG BSD Unix] / 43BSDTahoe / man / man1 / lock.1
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:58 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43tahoe
BSD 4.3tahoe

.\" Copyright (c) 1980 Regents of the University of California.
.\" All rights reserved.  The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\"	@(#)lock.1	6.3 (Berkeley) 4/26/87
.\"
.TH LOCK 1 "April 26, 1987"
.UC
.SH NAME
lock \- reserve a terminal
.SH SYNOPSIS
.B lock
[
.B -p
] [
.B -number
]
.br
.SH DESCRIPTION
\fILock\fP requests a password from the user, reads it again for verification
and then it will normally not relinquish the terminal until the password is
repeated.  There are three other conditions under which it will terminate: it
accepts the password for root as an alternative to the one given by the
user, it will timeout after some interval of time, and it may be killed by
somebody with the appropriate permission. The default time limit is 15 minutes
but it may be changed with the \fI-number\fP option where \fInumber\fP is the
time limit in minutes.  The \fI-p\fP option has \fIlock\fP use the user's
standard password instead of requesting another one.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.