A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

May 24, 2009

Locking a virtual terminal



I was just looking for a possibility to lock a virtual terminal.

What I found is vlock. With vlock you can lock your terminal session very easily.

You first have to install vlock.

sudo apt-get install -y vlock

When you are in a terminal, just enter this to lock session:


Now you must enter your or the root's password to unlock. If the process is killed by someone else, the session is no more accessable.

I find this very useful, because many times I work on terminal and I don't want other people see what I'm doing.


Click Here!