Can I have repeated login failures at the console cause a shutdown?

2011-06-22 Thread Julian Gilbey
Does anyone know whether there is a PAM module or equivalent which can be used to make a system shutdown if there are repeated login failures at the console, sort of like pam_tally2 or denyhosts, but with configurable behaviour? My idea is: if I've left my laptop logged on with the screen locked,

Re: Can I have repeated login failures at the console cause a shutdown?

2011-06-22 Thread William Hopkins
On 06/22/11 at 05:35pm, Julian Gilbey wrote: Does anyone know whether there is a PAM module or equivalent which can be used to make a system shutdown if there are repeated login failures at the console, sort of like pam_tally2 or denyhosts, but with configurable behaviour? Try pam_exec. With