How to set Password Change Time in FreeBSD

2012-04-12 Thread Jun Li BJ Zhao
Dears, To force local user in FreeBSD system changing their password periodically, I want to set Password Change Time. I tried the following two ways, but both failed. Could you please give me the correct operations? Thanks a lot! Method 1: Added passwordtime=2m to /etc/login.conf, then run the

Re: How to set Password Change Time in FreeBSD

2012-04-12 Thread Matthew Seaman
On 12/04/2012 10:15, Jun Li BJ Zhao wrote: To force local user in FreeBSD system changing their password periodically, I want to set Password Change Time. I tried the following two ways, but both failed. Could you please give me the correct operations? Thanks a lot! Method 1: Added

Re[2]: How to set Password Change Time in FreeBSD

2012-04-12 Thread Jun Li BJ Zhao
Dears, The following is my testing according to the mail Re: How to set Password Change Time in FreeBSD: 1. I added passwordtime=2m to /etc/login.conf, run the command cap_mkdb /etc/login.conf, and then created a new user test. In /etc/master.passwd, field 6 of test was zero. Password of test