version 1.19, 2019/07/19 18:32:19 |
version 1.20, 2019/07/24 20:23:09 |
|
|
.Nd reserve a terminal |
.Nd reserve a terminal |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Nm lock |
.Nm lock |
.Op Fl p |
.Op Fl np |
.Op Fl a Ar style |
.Op Fl a Ar style |
.Op Fl t Ar timeout |
.Op Fl t Ar timeout |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
|
|
.Ar style |
.Ar style |
to get the standard prompt for that |
to get the standard prompt for that |
.Ar style . |
.Ar style . |
|
.It Fl n |
|
Lock the terminal forever. |
|
This overrides |
|
.Fl t |
|
and is the default on |
|
.Ox |
|
unless |
|
.Fl t |
|
is specified. |
.It Fl p |
.It Fl p |
A password is not requested, instead the user's current login password |
A password is not requested, instead the user's current login password |
is used. |
is used. |
|
|
.It Fl t Ar timeout |
.It Fl t Ar timeout |
Unlock the terminal after |
Unlock the terminal after |
.Ar timeout |
.Ar timeout |
minutes. |
minutes unless |
|
.Fl n |
|
is also specified. |
When used in this manner |
When used in this manner |
.Nm |
.Nm |
should be invoked so that the user is safely logged out |
should be invoked so that the user is safely logged out |