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.
| Tags | Utilities Terminals Security Desktop Environment tools |
|---|---|
| Licenses | GPLv2 |
| Operating Systems | POSIX Linux BSD FreeBSD |
| Implementation | C Unix Shell bash |
Recent releases


Changes: This release adds slight build system changes to help distributors. The number of failed authentication tries is now displayed on exit.


Changes: This release fixes a bug that would sometimes close stdin if a script was requested and later unloaded due to missing dependencies.


Changes: Vlock's architecture was again changed from using multiple executables to a single one with plugin support. The main helpers "vlock-all", "vlock-new", and "vlock-nosysrq" were all converted to plugins to keep filesystem based permission checking. Plugins may be scripts or shared objects and can add functions like muting the sound, pausing music or movie playback, and even eye candy screen savers.


Changes: Only two minor bugs were fixed. This will hopefully be the last release candidate.


Changes: The fix for the previous security issue was changed slightly: directory parts are now silently stripped from erroneous names instead of being reported as errors. A file descriptor leak was fixed in the script handling. A bug that could result in vlock spinning in an infinite loop if stdin wasn't a terminal was fixed. Unit tests (using cunit) were added.