Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: marcus75 on March 30, 2006, 04:12:29 PM

Title: expiring password
Post by: marcus75 on March 30, 2006, 04:12:29 PM
I have a new question for you.

I  would like to have the accounts password on the SME SERVER  expiring after  a pre-defined number of months (2 or 6 months).
 :-x
Once expired, the user should be prompted to change his/her own password.

Can you help me, please?
Title: Re: expiring password
Post by: cactus on March 30, 2006, 06:10:31 PM
Quote from: "marcus75"
I have a new question for you.

I  would like to have the accounts password on the SME SERVER  expiring after  a pre-defined number of months (2 or 6 months).
 :-x
Once expired, the user should be prompted to change his/her own password.

Can you help me, please?


Use the 'chage' command, for help enter 'man chage'  on the command line of your server.
Title: Re: expiring password
Post by: marcus75 on March 30, 2006, 07:17:19 PM
Quote from: "cactus"
Use the 'chage' command, for help enter 'man chage'  on the command line of your server.


Good solution but so I have to do one by one, can I set a group?
Title: Re: expiring password
Post by: cactus on March 30, 2006, 07:41:34 PM
Quote from: "cactus"
Quote from: "marcus75"
I have a new question for you.

I  would like to have the accounts password on the SME SERVER  expiring after  a pre-defined number of months (2 or 6 months).
 :-x
Once expired, the user should be prompted to change his/her own password.

Can you help me, please?


Use the 'chage' command, for help enter 'man chage'  on the command line of your server.


To have it automatically done, for every time you create or modify a user:

Title: Re: expiring password
Post by: cactus on March 30, 2006, 07:43:10 PM
Quote from: "marcus75"
Good solution but so I have to do one by one, can I set a group?

I don't know of such an option... unfortunately. I will file a feature request for the expiry option in SMEServer.

Edit: Here is the NFR: http://bugs.contribs.org/show_bug.cgi?id=1176
Title: password expire
Post by: Matt on November 02, 2006, 08:43:40 PM
hi

I have followed the how to on this thread as cactus sets out, but I now want to check it works.  

I already had some users setup before i did this, so will they not know when their passwords expire?

could somebody tell me how to check, what happens when the password expires?  

Will the user ne contacted automatically? and do they have to change their password before the old one expires, otherwise how will they logon to windows?  

Sorry for so many questions, but I am not the most experienced user.  

any help would be great.  Thanks