From: Tobias Stoeckmann Date: Fri, 19 Dec 2025 12:50:01 +0000 (+0000) Subject: pwunconv: Drop incorrect comment X-Git-Tag: 4.19.0~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07594bf4d01bd2f9a22b19d064f4dec1b838a6c7;p=thirdparty%2Fshadow.git pwunconv: Drop incorrect comment Shadow password files do not necessarily need aging information. Also, passwd has no aging information. No conversion is performed, so drop the comment entirely. Signed-off-by: Tobias Stoeckmann --- diff --git a/src/pwunconv.c b/src/pwunconv.c index fd11e9ad4..4adaf7028 100644 --- a/src/pwunconv.c +++ b/src/pwunconv.c @@ -194,16 +194,6 @@ int main (int argc, char **argv) pwent.pw_passwd = spwd->sp_pwdp; } - /* - * Password aging works differently in the two different - * systems. With shadow password files you apparently must - * have some aging information. The maxweeks or minweeks - * may not map exactly. In pwconv we set max == 10000, - * which is about 30 years. Here we have to undo that - * kludge. So, if maxdays == 10000, no aging information is - * put into the new file. Otherwise, the days are converted - * to weeks and so on. - */ if (pw_update (&pwent) == 0) { fprintf (stderr, _("%s: failed to prepare the new %s entry '%s'\n"),