1*43710Scael.\" Copyright (c) 1987, 1990 The Regents of the University of California. 236292Sbostic.\" All rights reserved. 319184Smckusick.\" 4*43710Scael.\" %sccs.include.redist.man% 519184Smckusick.\" 6*43710Scael.\" @(#)lock.1 6.6 (Berkeley) 06/24/90 736292Sbostic.\" 8*43710Scael.Dd 9*43710Scael.Dt LOCK 1 10*43710Scael.Sh NAME 11*43710Scael.Nm lock 12*43710Scael.Nd reserve a terminal 13*43710Scael.Sh SYNOPSIS 14*43710Scael.Nm lock 15*43710Scael.Op Fl p 16*43710Scael.Op Fl t Ar timeout 17*43710Scael.Sh DESCRIPTION 18*43710Scael.Nm Lock 1936876Sbosticrequests a password from the user, reads it again for verification 2036876Sbosticand then will normally not relinquish the terminal until the password is 2136876Sbosticrepeated. 2236876SbosticThere are two other conditions under which it will terminate: it 2336876Sbosticwill timeout after some interval of time and it may be killed by someone 2436876Sbosticwith the appropriate permission. 25*43710Scael.Po 26*43710ScaelOptions: 27*43710Scael.Pp 28*43710Scael.Tw Fl 29*43710Scael.Tc Fl t 30*43710Scael.Ws 31*43710Scael.Ar timeout 32*43710Scael.Cx 33*43710ScaelThe time limit (default 15 minutes) is changed to 34*43710Scael.Ar timeout 35*43710Scaelminutes. 36*43710Scael.Tp Fl p 37*43710ScaelCauses 38*43710Scael.Nm lock 3936876Sbosticto use the user's current password instead of requesting another one. 40*43710Scael.Tp 41*43710Scael.Sh HISTORY 42*43710Scael.Nm Lock 43*43710Scaelappeared in 3 BSD. 44