OK, not sure if this is the best forum/way to do this (i.e. put [script] at the beginning to show that it's a script), but I figured I set up a simple script that makes vlock work a lot better then before. Mainly I wanted it to do two things; lock the entire computer (or laptop in my case) and clear the whole screen so you can't see what I was working on. Thus I made the following...
NOTE if you see `something` that means type something in the command window and to not include the `s in it.
vlock installed (duh)
using bash (that's what the script is, although it should work with others)
cd to where vlock is. You can find out by typing `which vlock`
Login as root if you haven't yet
type `mv vlock vlock-bin`
type `vi vlock`
enter the following:
#Now lock out the whole computer
then do `:wq` to save it
type `chmod +x vlock`
now when you type vlock it will clear the screen and lock out the whole machine. Haven't tried this in a telnet session to see if gives you some error because there's only one screen then. Just something simple that I figure other's might benefit from.
Another option, if you don't want to modify how it works when you type vlock (for example, a lot of people use this machine) you can leave the orignal vlock how it is, change the script to vlocka or something and change the vlock-bin back to vlock. then type vlock for normal lockage and vlocka for better lockage