2

i hope someone could help me

while trying login to my Ubuntu machine with my user i'm getting "account locked due to 29 failed"

i logged in with recovery mode and now i'm root but i can't change any "Pam_tally" configuration because of the recovery mode restrictions.

how can this be solved?

1 Answer 1

0

Try remounting the root disk as read-write when in recovery

mount / -o remount,rw

This will allow you to modify the filesystem and remove the restrictions.

2
  • i did, what should i do now? Mar 21, 2016 at 8:01
  • I don't know - I've never used pam_tally. I'm guessing you will want to edit /etc/nsswitch.conf to remove reference to pam_tally or modify /etc/pam.d/system-auth. Looking at cyberciti.biz/tips/… though, it would appear to me that, as root, you could probably reset the login counter simply by using the command faillog -r -u USERNAME - you don't even need to boot to recovery to do this !
    – davidgo
    Mar 21, 2016 at 8:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .