Date: Fri, 24 May 2002 00:35:43 +0200 From: "Klaus-J. Wolf" <kjwolf@golulu.logelhorst.de> To: Jeffrey Tang <freebsd@hoolan.org> Cc: freebsd-questions@freebsd.org, stable@freebsd.org Subject: Re: How to force one user to change his password? Message-ID: <3CED6EBF.7080506@golulu.logelhorst.de> References: <Pine.BSF.4.05.10205231840190.92718-100000@hoolan.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Jeffrey Tang wrote: >Thank you both for your workarounds, but I suppose this is some kind of >*bug* . According to passwd(5), "The change field is the number in seconds, >GMT, from the epoch, until the password for the account *must be* changed." >I am asking him to change his password, not merely suggesting. Shouldn't >the login process reexamine change field after passwd(1) returns? > > > Hm, I don't say any hints about *password history*. So, it is perfectly legal to press Enter and leave the password unchanged at the prompt, like it would be if you enter the old password again. passwd(1) returns 0 even if you didn't change anything... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CED6EBF.7080506>