[ubuntu] gdm-simple-greeter password policies

view story

http://ubuntuforums.org – Hello. I am not sure if these would be pam settings or gdm-simple-greeter settings, but I would like to edit the password policies on the lock screen. What I would like to do is set the system to automatically run a script if somebody incorrectly guesses the password on the lock screen three times. This script could then do other things, like send a notification of some sort, then shut the system down. Is is possible to configure gdm-simple-greeter to do that? If not, are there alternate lock screens which could do that? (Hardware)