143710Scael.\" Copyright (c) 1987, 1990 The Regents of the University of California. 236292Sbostic.\" All rights reserved. 319184Smckusick.\" 4*50616Scael.\" %sccs.include.redist.roff% 519184Smckusick.\" 6*50616Scael.\" @(#)lock.1 6.9 (Berkeley) 07/27/91 736292Sbostic.\" 843710Scael.Dd 943710Scael.Dt LOCK 1 10*50616Scael.Os 1143710Scael.Sh NAME 1243710Scael.Nm lock 1343710Scael.Nd reserve a terminal 1443710Scael.Sh SYNOPSIS 1543710Scael.Nm lock 1643710Scael.Op Fl p 1743710Scael.Op Fl t Ar timeout 1843710Scael.Sh DESCRIPTION 1943710Scael.Nm Lock 2036876Sbosticrequests a password from the user, reads it again for verification 2136876Sbosticand then will normally not relinquish the terminal until the password is 2236876Sbosticrepeated. 2336876SbosticThere are two other conditions under which it will terminate: it 2436876Sbosticwill timeout after some interval of time and it may be killed by someone 2536876Sbosticwith the appropriate permission. 26*50616Scael.Pp 2743710ScaelOptions: 2843710Scael.Pp 29*50616Scael.Bl -tag -width Fl 30*50616Scael.It Fl p 31*50616ScaelA password is not requested, instead the user's current login password 32*50616Scaelis used. 33*50616Scael.It Fl t Ar timeout 3443710ScaelThe time limit (default 15 minutes) is changed to 3543710Scael.Ar timeout 3643710Scaelminutes. 37*50616Scael.El 38*50616Scael.Sh HISTORY 39*50616ScaelThe 4043710Scael.Nm lock 41*50616Scaelcommand appeared in 42*50616Scael.Bx 3.0 . 43