mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-26 10:53:39 +01:00
lock(1): Add EXAMPLES section
Add simple example showing the use of the flags: p, t, v Reviewed by: gbe@, yuripv@ Approved by: manpages (yuripv@) Differential Revision: https://reviews.freebsd.org/D27541
This commit is contained in:
parent
15d474afee
commit
c06f992b02
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=368556
@ -28,7 +28,7 @@
|
||||
.\" @(#)lock.1 8.1 (Berkeley) 6/6/93
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd July 10, 2002
|
||||
.Dd December 11, 2020
|
||||
.Dt LOCK 1
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -73,6 +73,11 @@ or
|
||||
.Xr vt 4
|
||||
virtual terminal.
|
||||
.El
|
||||
.Sh EXAMPLES
|
||||
Lock the terminal for 5 minutes, disable switching virtual terminals and
|
||||
require the user's login password to unlock:
|
||||
.Pp
|
||||
.Dl $ lock -p -t 5 -v
|
||||
.Sh SEE ALSO
|
||||
.Xr vidcontrol 1 ,
|
||||
.Xr syscons 4 ,
|
||||
|
Loading…
Reference in New Issue
Block a user