2005/03/17 vlock


http://linux.maruhn.com/sec/vlock.html or up2date vlock on RedHat.

This lets you lock the console screens (or just the one you are using, if you prefer). Simple to use:



vlock -c 
vlock -a



Hate these ads?

With -c, it's just the tty you are presently using, while -a locks all console screens. The "-c" can be used on a telnet or ssh login though it will warn you that



 *** This tty is not a VC (virtual console). ***
 *** It may not be securely locked. ***


To use -a, you have to be presently logged in on the console. If you are not root, vlock will first ask for your password to unlock, but if that fails, it will ask for root's: root can supposedly always unlock it. My testing didn't confirm that - yes, it ASKED for root's password after failing on the user, but did not unluck even when that was correctly given. That could be very unpleasant if you couldn't kill the vlock from a telnet or ssh session.

However, this would probably be used by administrators who will ALWAYS lock the console whenever they leave it, which could be very useful against curious passerbys. You might consider combining that with restrictions in /etc/security/time.conf also.



Comments /Words2005/2005_03_17.html


Add your comments

ad

Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)

Or use any RSS reader

Delivered by FeedBurner

cartoon
Forget the expense of flying to New England. Forget hotel and meals costs.
Installation and light training Boston and New England


Views for this page
Today This Week This Month This Year  Overall
2212363 1,998

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

pavatar.jpg
More:
       - Security
       - Shell
       - Linux
       - Unix




Unix/Linux Consultants

Your ad here - $24.00 yearly!

larryi@ccamedical.com SCO OS5, Debian Linux, RedHat Linux, MySQL, Apache, AJAX development using dXport/dL4/Unibasic, Windows Connectivity, Sharing Resouces, Automation, Shell Scripting


http://www.schewanick.com SCO Unix, Solaris, Linx (various), PHP, MySQL, Apache, uniBasic, dL4, Perl, System Administration and more....


http://echo3.net/ Unix/Linux Custom Applications, Web Hosting, C/C++ Programming Courses









Change Congress


Related Posts