=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/lock/lock.1,v retrieving revision 1.18 retrieving revision 1.19 diff -c -r1.18 -r1.19 *** src/usr.bin/lock/lock.1 2019/07/05 14:11:26 1.18 --- src/usr.bin/lock/lock.1 2019/07/19 18:32:19 1.19 *************** *** 1,4 **** ! .\" $OpenBSD: lock.1,v 1.18 2019/07/05 14:11:26 cheloha Exp $ .\" .\" Copyright (c) 1987, 1990, 1993 .\" The Regents of the University of California. All rights reserved. --- 1,4 ---- ! .\" $OpenBSD: lock.1,v 1.19 2019/07/19 18:32:19 cheloha Exp $ .\" .\" Copyright (c) 1987, 1990, 1993 .\" The Regents of the University of California. All rights reserved. *************** *** 29,35 **** .\" .\" @(#)lock.1 8.1 (Berkeley) 6/6/93 .\" ! .Dd $Mdocdate: July 5 2019 $ .Dt LOCK 1 .Os .Sh NAME --- 29,35 ---- .\" .\" @(#)lock.1 8.1 (Berkeley) 6/6/93 .\" ! .Dd $Mdocdate: July 19 2019 $ .Dt LOCK 1 .Os .Sh NAME *************** *** 37,43 **** .Nd reserve a terminal .Sh SYNOPSIS .Nm lock ! .Op Fl np .Op Fl a Ar style .Op Fl t Ar timeout .Sh DESCRIPTION --- 37,43 ---- .Nd reserve a terminal .Sh SYNOPSIS .Nm lock ! .Op Fl p .Op Fl a Ar style .Op Fl t Ar timeout .Sh DESCRIPTION *************** *** 45,53 **** 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 privileges. .Pp The options are as follows: .Bl -tag -width Ds --- 45,50 ---- *************** *** 66,77 **** .Ar style to get the standard prompt for that .Ar style . - .It Fl n - Don't use a timeout value. - Terminal will be locked forever. - This option is incompatible with the - .Fl t - option. .It Fl p A password is not requested, instead the user's current login password is used. --- 63,68 ---- *************** *** 85,96 **** challenge to which they may respond with a six-word S/Key one-time password. .It Fl t Ar timeout ! The time limit (default 15 minutes) is changed to .Ar timeout minutes. ! This option is incompatible with the ! .Fl n ! option. .El .Sh SEE ALSO .Xr skey 1 , --- 76,90 ---- challenge to which they may respond with a six-word S/Key one-time password. .It Fl t Ar timeout ! Unlock the terminal after .Ar timeout minutes. ! When used in this manner ! .Nm ! should be invoked so that the user is safely logged out ! if the timeout elapses: ! .Pp ! .Dl $ lock -t 15 || exit .El .Sh SEE ALSO .Xr skey 1 ,