Canadian1296 |
11-20-2011 12:32 PM |
Make computer shutdown on failed login attempt?
I have a computer I will be running from a LiveCD (no harddrive) for encrypting and decrypting messages and files with PGP. The setup is basically my private key will be ok the computer (in RAM) and backed up onto a truecrypt volume (memory stick). The computer will stay running. If it's shutdown, the private key will be lost as it was stored in RAM, and must be put back on from the truecrypt volume. I'm working on the LiveCD (customizing a command line distribution of Ubuntu), and I'm looking for a way to make the computer shutdown if a bad password is typed at the login screen. This way if anyone besides me tries to log in, the computer will shutdown and the private key will be lost. I have no idea where to start with this, so any help is greatly appreciated. Also, please don't criticize what I'm doing with the computer. The reason I'm doing this is to see what's possible. I want to learn as much as I can about how the operating system works :)
|