I want to write a shell script which will lock the terminal and prevent other people from using it. It must prompt your twice to entry a key, if the keys match, it should sit in a loop prompting a user to enter a third key. If the keymatches the ones you entered the script should exit to the shell prompt. If i enter the wrong key 5 time, the system will log off.
-----------------------------------------------------------------------------------
I think i cannot use vlock here.