You can use the faillog command to set login failure limits and to display a list of failed login attempts.
to unlock an account you can use:
faillog –r –u <accountname>
you can also use the passwd file to lock or unlock accounts manually.
passwd –l <accountname>
passwd –u <accountname>
No comments:
Post a Comment