Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm a complete noob in Linux and I'm stuck in a situation where I'm logged in an Linux box from putty but on of my colleague, who was trying to login on same machine from his machine blocked my user by entering wrong password for more than 3 times. Now, I'm logged in but not able to reset the password as while trying Linux is asking for (LDAP) password after asking for UNIX password BUT, not accepting my user's LDAP password ( I'm just hoping it's same password which is used for outlook i.e. used with-in organization )

Is there any way to reset my password or we need to wait for the root user to do it?

share|improve this question

2 Answers 2

If your LDAP account has been locked in the directory, then I am afraid that only the directory administrator can unlock it.

share|improve this answer
    
I guess so .. will have to wait till admin will come to office :| But thanks for replying –  rahul May 2 at 10:08
    
@rahul yeah I mean, if it was a local account that was blocked, I guess you could recover it. But if it's locked somewhere else, there is not much you can do from your machine. At least, this is if I understood the situation correctly :) –  user1301428 May 2 at 10:31
    
@rahul Have you managed to solve this? –  user1301428 May 2 at 19:14
    
Not yet, have sent the request to the admin server machine. hopefully will get sorted out soon.. About the situation, even i'm not aware of the problem entirely as i've been blocked by someone using my credential but me being already inside is a bit strange situation to be in. I was not able to reset the password nor the counter as told by 'Emmanuel' as pam_tally command could have require root/admin access. So i guess, it's mostly the permission issue .. But, Thanks for your concern :) –  rahul May 5 at 6:19

On the systems I know the "pam_tally" module manages the failure counts.

To check the pam_tally counter :

pam_tally --user username 

To reset the counter :

pam_tally --user username --reset

That must be done under the root id.

share|improve this answer
    
Thanks for replying & your time Emmanual.. i'm not able to fetch the counter value, let's leave the case of reseting it ... it's replying 'command not found'. I guess i'm not able to access the command ( that's something as a laymen i can think of) –  rahul May 2 at 10:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.