Search This Blog

2015-09-14

Account Locked Due to Failed Logins

I spent this morning fat fingering/forgetting my password so many times my account was locked out.

I'm using SUSE 11.

The way in which I managed to fix it is by rebooting the system, going into grub.

Pressing 'e' on the boot loadeder and adding "init=/bin/bash" to the end to boot to a bash prompt.

Changed my password by using

passwd $username


Then unlocking my account by using

pam_tally2 -u $username -r

where the -r resets login attempt

No comments:

Post a Comment