[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Automatically prompt for password change at first login.



Klaus Ade Johnstad wrote:
> tirsdag 6. september 2005, 21:19, skrev Christian Kuelker:
> 
>>>This prompts everyone to change their password, whether they login
>>>via kdm or ssh.
>>
>>I hope not every time. Once, right?
> 
> 
> Nope, only first time. The changes I made to /etc/ldap/slapd.conf 
> ensures that the the values for shadowLastChange changes from 0 to 
> about 13000, the number of days since 1.1.1970
> 
> It is probably quit easy to make it so that they must change their 
> passwords at a regular basis, once a month, or once a year.

change shadow max into the time of days between each password change.

You can also make them unable to change their password (with passwd or
another such tool) by setting min to the number of minimum days between
each passwd change.

I'm just guessing, but Maybe if you set min to 99999, they wil not be
able to change their password.

-- 
Finn-Arne Johansen
faj@bzz.no http://bzz.no/
Debian-edu developer



Reply to: