Depends on how you implemented it. To see locked accounts using pam_tally you can use faillog. And faillog -r -u to unlock. If you use pam_tally2, then use with --user to see if account is locked. And --reset to unlock. Paul