Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Take iSight snapshots during invalid login attempts' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Take iSight snapshots during invalid login attempts
Authored by: macEroni on Dec 15, '06 12:55:33PM
Greetings,

Nice hint! I'm less worred about loosing my laptop, as it doesn't leave home very much. But I have been wondering how to hook into a failed login attempt in order to play a sound.

I've got Play Sound installed (http://MicrocosmSoftware.com/playsound/) and have associated this as the default application for some star trek .wav fille sounds that I got on the internet. I've placed these in a folder in /Users/Shared/star trek sounds/. (I'd be happy to know if there's a better way to simply play a sound file from the command line)

Next, I modified the action line in the perl script to:

my($result) = `open "/Users/Shared/star trek sounds/Computer - access denied.wav"`;

(I'm not a real perl programmer, I just play one on TV.).

My son and I enjoy having the Star Trek computer voice announce "Access denied" on a failed login or wake up attempt. We've set an "Access granted" sound to play as a login item. It would be fun to hook star trek sounds into other events as well.

In the old days, there were several programs that would let you do such things under OS 9. There are one or two of these for OS X, but these are generally limited and I couldn't find one with a hook for failed login attempts.

Have fun!

....Dave

---
Real nice guy.

[ Reply to This | # ]