Possible problem with what you are asking:<br>
<br>
If somebody is attempting to access your system for dubious reasons (ie, our cracker friends) then they'll probably try standard system accounts first: root, adm, uucp, etc. How'd you feel if you walked in one morning and suddenly couldn't access your system because root was locked out? Hmmm... You could say that root would be excluded from the lock out, but then you've still got this "vulnerabilty".<br>
<br>
Like uudavid said, you could set something up yourself with scripts, etc. But make sure you exclude root from the checks...<br>
<br>
Rather than look at locking users out, start by checking how secure your passwords are. Get hold of 'crack' or similar and point it at a copy of you passwd files. See how many people have chosen 'password' for a password... Then have a look at password ageing, etc. That way, you know how secure your door locks are, and may have a better idea of whether you need to add any additional bolts.<br>
<br>
Hope this helps.