summaryrefslogtreecommitdiffstats
path: root/upstream/mageia-cauldron/man1/vlock.1
blob: c0e6e5e4fff907a004432eac3ecbe882de1d8274 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
.TH VLOCK 1 "16 May 1996" "kbd"
.SH NAME
vlock \- Virtual Console lock program
.SH SYNOPSIS
.B vlock
.PP
.B vlock [ -a,--all ] [ -c,--current ] [ -h,--help ] [ -v,--version ]
.SH DESCRIPTION
.B vlock
is a program to lock one or more sessions on the Linux console.  This is
especially useful for Linux machines which have multiple users with access
to the console.  One user may lock his or her session(s) while still allowing
other users to use the system on other virtual consoles.  If desired, the
entire console may be locked and virtual console switching disabled.
.PP
By default, only the current VC (virtual console) is locked.  With the
\fB-a,-all\fR option all VCs are locked.  The locked VCs cannot be unlocked
without the invoker's password.  And, for the paranoid,
vlock makes it a trying experience for those attempting to guess the
password, so unauthorized access to session(s) is highly unlikely.
.PP
Please note that it is entirely possible to completely lock yourself out of
the console with the \fB-a,--all\fR option if you cannot remember your
password!  Unless you are able to kill vlock by logging in remotely via a
serial terminal or network, a hard reset is the only method of ``unlocking''
the display.
.PP
\fBvlock\fR works for console sessions primarily.  However, there is
support for trying to lock non-console sessions as well, but that
support has not been well tested.
.SH OPTIONS
.B -a,--all
.IP
Lock all console sessions and disable VC switching.
.PP
.B -c,--current
.IP
Lock the current session (this is the default).
.PP
.B -h,--help
.IP
Print a brief help message.
.PP
.B -v,--version
.IP
Print the version number of \fBvlock\fR.
.PP
.SH AUTHOR
Michael K. Johnson <johnsonm@redhat.com>