Debian Codegraph @

upstream/mageia-cauldron/man1/vlock.1

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