General developer forum

How to set password Expiry to the user?

 
 
Picture of Anandham K
How to set password Expiry to the user?
 

Hi,

  Anybody please help me.How to set password expiry time to the user?

 
Average of ratings: -
Picture of Yusra Mohammed
إعادة: How to set password Expiry to the user?
 

Also me I want to know how to set it.

 

and, How much time allowed mainly??

 

 
Average of ratings: -
Me at the Moodle Moot NZ11
Re: إعادة: How to set password Expiry to the user?
Group Particularly helpful Moodlers

You should read this page:
http://docs.moodle.org/25/en/Password_policy

In Moodle 2.5 onwards, account lockout may enabled. After a specified number of failed login attempts, a user's account is locked and they are sent an email containing a URL to unlock the account.

The account may also be unlocked by an administrator in Settings > Site administration > Users > Accounts > Browse list of users or by waiting for the account lockout duration to elapse.

Stuart

 
Average of ratings: -
Picture of Matt Hobbs
Re: إعادة: How to set password Expiry to the user?
 

I think what the OP is asking for is for a user's password to expire after, say, 3 months. This is not related to entering the incorrect one and thus getting temporarily locked out.

 

On a related note, I had this idea for which I would also need password expiry after a certain time. The goal is to 'delete / suspend' users who have left the company:-

1) activate email based self-registration for our site and enforce the company domain name for allowed email addresses.

2) make user passwords expire every 1month, so they need to change it via an email sent to their company email address

Therefore, if an employee was terminated and their company email address was deleted, they would no longer be able to reset their password and thus could no longer log in (after the password expiry period).

This is not a perfect solution obviously, but would be a stop-gap for us until we manage to find a way to synchronise users with our HR database.

  

So, does anyone know if it is possible to set a duration for password expiry? Moodle functionality or plugin?

 
Average of ratings: -
Picture of Michael Milette
Re: How to set password Expiry to the user?
Group DevelopersGroup Particularly helpful Moodlers

Hi Anandham,

I believe that the Password Expiration Check plugin will meet your requirements.

Best regards,

Michael Milette

 
Average of ratings:Useful (1)
Picture of Matt Hobbs
Re: How to set password Expiry to the user?
 

Thanks Michael, will take a look.

 
Average of ratings: -