Securing Linux Console using vlock

Welcome new Week. Welcome new TIP.

Sorry for not posting tips since last couple of days. I was visiting Jaipur.

Did you know you can “lock” your session or console on Linux machines using “vlock” program. It can be very handy when you want are out for a short period, didn’t want to log off and yet want to make sure that no one else should mess on your Linux machine.

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.

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 or the root password.

The root password will always be able to unlock any or all sessions.

You can learn more tips of securing the Linux Console in RHCE Training.
Here is a screenshot from my Linux (RHEL 6) box.

You can also view this post on Network NUTS Facebook Page.
Securing Linux Virtual Console using vlock

Securing Linux Virtual Console using vlock

Advertisements