Jump to content

Bad password attempts not resetting


Lore

Recommended Posts

I failed my password attempts (5 times) a few days ago.  The account is still not allowing for a login.

 

I have attempted to remove the password from /ect/shadow but I am still getting prompted for a password, so either I didnt do it right or it didnt save. 

Link to comment
Share on other sites

Login failure counters on Linux are typically managed by pam_tally or pam_tally2, and manage the failed login count outside of /etc/shadow. Both have special console commands to reset those counts.

 

That said, they're not in the Armbian images I have for either the ODroid C2 or NanoPi M4V2. Did you go out of your way to enable them?

 

If not, it's more likely that you messed up your /etc/shadow entry if you edited by hand. If it's corrupt, the system will treat that as a failed password attempt regardless of what you enter.

Link to comment
Share on other sites

I didn't do anything special, but I might have seen service starting messages for them at boot (I am using the image for Helios64).

 

I made a copy of /etc/shadow before I edited it, but the result is the same.  Still says I have 5 bad password attempts, even after days of not trying to log in.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines