• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

Reset Pam_Tally2

May 25, 2018

To unlock a locked account, you need to run pam_tally2, which is a tool that keeps tracked of failed logins. Pam_tally2 is installed on most Linux systems. To unlock an account, just run the following commands:

pam_tally2 --user=ulysses --reset

pam_tally2 --user=ulysses --reset

Have the user login again. It should work.

Some systems might be using an older pam_tally. The command for that will be.

pam_tally --user=ulysses --reset=0

pam_tally --user=ulysses --reset=0

Filed Under: Linux Tagged With: pam_tally2, unlock

Search This Website

Subscribe Via Email

  • Home
  • About
  • Archives

Copyright © 2023