VLOCK(1) General Commands Manual VLOCK(1)NAME
vlock - Virtual Console lock program
SYNOPSIS
vlock
vlock [ -a,--all ] [ -c,--current ] [ -h,--help ] [ -v,--version ]
DESCRIPTION
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 vir-
tual consoles. If desired, the entire console may be locked and virtual console switching disabled.
By default, only the current VC (virtual console) is locked. With the -a,-all 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 pass-
word, so unauthorized access to session(s) is highly unlikely.
Please note that it is entirely possible to completely lock yourself out of the console with the -a,--all 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.
vlock 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.
OPTIONS -a,--all
Lock all console sessions and disable VC switching.
-c,--current
Lock the current session (this is the default).
-h,--help
Print a brief help message.
-v,--version
Print the version number of vlock.
AUTHOR
Michael K. Johnson <johnsonm@redhat.com>
Linux User's Manual 16 May 1996 VLOCK(1)
Check Out this Related Man Page
VLOCK-PLUGINS(5) Linux Programmer's Manual VLOCK-PLUGINS(5)NAME
vlock-plugins - plugin support for vlock
DESCRIPTION
If vlock-main(8) is compiled with plugin support its default features are very limited: it can only lock the current session and ask for
authenticiaton. However it is possible to extend this functions through plugins. These plugins are loaded when vlock-main starts and can
provide hooks that are called at certain points during the lifetime of the vlock-main process.
DEFAULT PLUGINS
The following plugins are provided when installing vlock with default options:
all
This plugin locks all sessions by disabling console switching. It is also loaded when giving the -a,--all option to vlock(1).
new
This plugin switches to a new virtual console before disabling console switching through the "all" plugin. It is also loaded when
giving the -n,--new option to vlock(1).
nosysrq
Linux only. This plugin disables the Linux SysRQ mechanism before the console switching is locked by the "all" plugin. It is also
loaded when giving the -s,--disable-sysrq option to vlock(1).
ADDITIONAL PLUGINS
The following plugins are only available if explicitely selected at build time:
caca
This plugin runs a random libcaca screensaver when the screen is locked.
WRITING PLUGINS
For information about writing plugins see the PLUGINS file in the vlock source distribution.
SEE ALSO vlock(1), vlock-main(8)AUTHORS
Frank Benkstein <frank-vlock@benkstein.net>
Linux 10 November 2007 VLOCK-PLUGINS(5)
So my server was hung when I came in this morning. It was responding to pings, but the console and telnet sessions would not respond. There was no disk activity. The display said FA1F which I discovered that the "A" represents a high CPU load. I tired several things to get it going but was forced... (6 Replies)
Are there any reprocussions to leaving the consoles unplugged on HP L & N Class machines? We are cramped for space in the server room and we are thinking about unplugging all the console/terminals and only keeping one terminal to plug in when we need to log in directly on a box.
I did a small... (3 Replies)
Hi all,
Well I've had a bit more experience with Unix-like environments since my last post, now that I have started working on my website in earnest and am doing much of the file manipulation via the command line through SSH.
The thing is, I want to be able to log all console activity,... (4 Replies)
Dear gentlemen
I faced one problem when i made shutdown to my server AIX pserise/6000
the problem is the console (my console is outside not inside the server) corrupted during shutdown and restart so in this case I have to reinstall the linux in the console to allow me manage LPARS in the... (11 Replies)
Hi folks,
I'm unfortunately only a Solaris/Linux guy and have a problem I can't solve. As part of an assessment of some network security software, I need to perform vulnerability scans and log (syslog event) collection from an AIX box.
So I have a pSeries "B80" in front of me running AIX 5.2... (8 Replies)
Hi,
How to list the files which are not locked?
I want to read the files that are not locked by other user only.
can we do it using ls option? (5 Replies)
Hi guys,
My current set up is I have a Laptop running redhat linux.
This acts as an SSH server, and i use it to console into the LOM-A port on my Sunfire V100 using minicom. The idea is that I can remotely access and test things out.
This works great, but I've just bought another V100 server... (15 Replies)
Hi! Is it possible to add more console logins in Solaris 10 x86 like it is in Linux and FreeBSD? The Problem is, when i make some configuration in the console, kdmconfig for example, and something hangs, i cannot switch to another console to kill the process. What i want is to switch with Alt-F2... (5 Replies)
Newbie here, have looked using search engine and can find nothing revelant to my problem..
Using Linux
Here, I want to create a unix daemon (using C) that run to check user idle time, then if the idle time match the timeout, that console will be locked automatically
(user need to enter... (14 Replies)
Hello All Gr8 Linux Developers Out There,
Background
=========
I have created a ncurses application that is suppose to run only on the Linux's virtual console. This application will heavily utilize the ncurses windows to show window-based UI to the user. I am using CentOS5.x. The terminal for... (7 Replies)
How would i force The server console to be locked automatically after 5 minutes ?
I want it to happen for X as well as terminal session of the machine.
My Linux distribution details.
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID:... (11 Replies)
Hi,
I would appreciate some help.
I remotely access, across a VPN, an M5000 and when I connect to the XSCF I can then access the OS using console -d0 and then I can get to the console.
The problem I have is that I need to run something which will take many hours and I can't run it in the... (6 Replies)
Hello folks,
Have a process which needs to lock files to prevent simultaneous access.
I could catch Ctrl + C, etc signals via the trap command.
Often sessions get hung due to network disconnect leaving the lock file in place.
Is there a way to catch network disconnects, etc.
Thanks in... (4 Replies)
Hi all,
I am new to this forum, I have been searching on how I can select text in a virtual console in RedHat without any luck, I would liek to select the text without using a mouse, just with keyboard, not only to select text but to move around the lines, I know Shift+PageUP will scroll up and... (8 Replies)