Re: chage -l
Nicolas François <[email protected]> Tue, 9 Aug 2005 16:02:03 +0200
| Newsgroups | gmane.linux.pld.shadow.general |
|---|---|
| Message-ID | <[email protected]> |
Hello,
Tomasz, can you also have a look at the 427 Debian patch.
It also changes chage in a similar way.
The "Last password change" interpretation is also modified:
lastday of 0 means that the password must be changed.
> @@ -266,7 +266,7 @@
> */
>
> printf (_("Password inactive\t\t\t\t\t: "));
> - if (lastday <= 0 || inactdays <= 0 ||
> + if (lastday <= 0 || inactdays < 0 ||
> maxdays >= 10000 * (DAY / SCALE) || maxdays <= 0) {
It's also probably "maxdays < 0" instead of "maxdays <= 0"
> printf (_("never\n"));
> } else {
IMO, all these modifications are consistent with the pam_unix module.
Best regards,
--
Nekral