xref: /csrg-svn/usr.bin/lock/lock.1 (revision 62068)
1*62068Sbostic.\" Copyright (c) 1987, 1990, 1993
2*62068Sbostic.\"	The Regents of the University of California.  All rights reserved.
319184Smckusick.\"
450616Scael.\" %sccs.include.redist.roff%
519184Smckusick.\"
6*62068Sbostic.\"	@(#)lock.1	8.1 (Berkeley) 06/06/93
736292Sbostic.\"
843710Scael.Dd
943710Scael.Dt LOCK 1
1050616Scael.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.
2650616Scael.Pp
2743710ScaelOptions:
2843710Scael.Pp
2950616Scael.Bl -tag -width Fl
3050616Scael.It Fl p
3150616ScaelA password is not requested, instead the user's current login password
3250616Scaelis used.
3350616Scael.It Fl t Ar timeout
3443710ScaelThe time limit (default 15 minutes) is changed to
3543710Scael.Ar timeout
3643710Scaelminutes.
3750616Scael.El
3850616Scael.Sh HISTORY
3950616ScaelThe
4043710Scael.Nm lock
4150616Scaelcommand appeared in
4250616Scael.Bx 3.0 .
43